ChatGPT has nothing to do with it. You can have code that is both easier to read and higher performance, it's just than nobody has made it a goal in life to show the rest of us how to do it. If I ever get fed up with writing code for a living I might sit down and figure out how to communicate it. There's dribs and drabs in my comment history, usually under topics of performance.
The problem is that they've chosen a micro benchmark for this argument. The toy-est of toy problems. Yes, you have to make tradeoffs in these cases, but toy problems aren't really a good communication medium. If you want to process a thousand records of data in a decent amount of time, there are lots of strategies that move you toward achieving both.
The problem is that they've chosen a micro benchmark for this argument. The toy-est of toy problems. Yes, you have to make tradeoffs in these cases, but toy problems aren't really a good communication medium. If you want to process a thousand records of data in a decent amount of time, there are lots of strategies that move you toward achieving both.