3 ms·
More importantly, even if a compiler does optimize that, you can't rely on that: next version of the compiler could have slightly different conditions that trig
by robryk 12y ago
More importantly, even if a compiler does optimize that, you can't rely on that: next version of the compiler could have slightly different conditions that trigger the optimization and your code could run 5x slower for no obvious reason.
- DannyBee 12y agoCompiler bugs and regressions are a fact of life, it's why we have regression tests :)