Performance
-
If there is some block of useless code, the compile is smart enough to ignore it and thus speed up the program.
-
Use the option
-O2to generate optimized code when you are ready to publish your code. -
Define variables only when needed to avoid the overhead of creating …
