4 ms·
You have to work pretty hard to get code to a state such that compiler optimizations will save you. I've had this same argument with cache management specialis
by ArkyBeagle 11y ago
You have to work pretty hard to get code to a state such that compiler optimizations will save you.
I've had this same argument with cache management specialists. If you have to consider how the cache works for your product to work, you're doing it wrong.
- GFK_of_xmaspast 11y ago> You have to work pretty hard to get code to a state such that compiler optimizations will save you At least in c++, this is absolutely 100% not the case, there's a huge difference between -O0 and -O2.
- ArkyBeagle 11y agoI need to check that out for myself.
- dumael 11y agoI've dealt with bugs that existed at -O0, -O2 was fine. But the bug was in the compiler itself.
- ArkyBeagle 11y agoAbsolutely.