In a single prompt I would not expect that specific exercise to produce efficient code, but within a few prompts it should. Certainly less time than it would take someone to write it themselves.
There are always creative ways to squeeze extra performance out of code if you spend enough time on it.
I’ll be surprised if there is any information to be had. Most people stop at this point because it either never happened or they never actually put any effort into it which is why it failed.
Lots of people struggle to use it. Don’t feel bad. I think to use it correctly, one must first want to use it. After that, it becomes easier.
I recall when ChatGPT first came out, a coworker was criticizing it. I asked for a demonstration, and they just kept gaming it. Just actively trying to make it fail to do things it already struggled to do. I asked them to do something I already knew worked pretty well, and they tried to game again. I asked them to stop gaming it, and they just refused.
Clearly, they were not the target audience for AI. And that’s fine!
I love AI, when it works, but even I don’t want it in 99% of my life. It’s a tool, and it should be rolled back to “tool” status and not some kind of therapist or friend or fact finder.
Just use it to replace stack overflow. That was never a good thing. ;)
It’s possible to miss a single sentence. Whoops. You’re not right and because I know you’re not it’s impossible to make me feel bad. You’re entitled to your opinions, even if all of them aren’t facts.
Well, if it took you 30 minutes, it’s not the AI’s fault.