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.
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!
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.