6 ms·
I've been caught by this. Even Claude/ChatGPT will suggest it as an optimisation. Every time I've measured a performance drop doing this. Sometimes significant.
by mirsadm 2y ago
I've been caught by this. Even Claude/ChatGPT will suggest it as an optimisation. Every time I've measured a performance drop doing this. Sometimes significant.
- WJW 2y agoIs that weird? LLMs will just repeat what is in their training corpus. If most of the internet is recommending something wrong (like this conditional move "optimization") then that is what they will recommend too.
- xbar 2y agoNot weird but important to note.
- diath 2y ago> Even Claude/ChatGPT will suggest it as an optimisation. LLMs just repeat what people on the internet say, and people are often wrong.