3 ms·
Writing optimized code generally involves looking at larger sections of the problem / code base and picking a different approach based on global conditions. So
by Retric 16y ago
Writing optimized code generally involves looking at larger sections of the problem / code base and picking a different approach based on global conditions.
So, when you and the compiler are booth looking at the same code base, but you find a better local approach based on a global condition you have beaten the compiler. Even if all you did was tell it about that condition.