Optimization Overload 1: The Agony of Efficiency

Warning: this page is not for the faint of heart. Proceed with caution, lest you be consumed by the abyss of unnecessary variables and the terror of unnecessary loops.

Subpages:

Code Block 1:

This is a sample of code that is so optimized, it's almost... almost... const int i = 0; while (i < 10);

It's a simple loop, but it'll drive you mad!

Code Block 2:

And this one is a function that will... function do_nothing(){}

Yes, it does nothing. But it's optimized!

Go ahead, try to optimize it further! We dare you.