I was changing my for loop to increment using ++i
instead of i++
and got to thinking, is this really necessary anymore? Surely today\'s compilers
Certainly yes, because the compiler needs more resources to optimize not optimized code than to optimize something already optimized. In particular, it causes the computer to consume a little bit more energy, that, despite being small, still causes bad impact on the already hurt nature. This is especially important for open-source code, which is compiled more often than closed source.
Go green, save the planet, optimize yourself