I am wondering if the whole program will be optimized if I just specify optimization level 3 in gcc (version 4.8.1 running on Ubuntu 12.04), or if I have to explicitly specify the optimization of the whole program as a gcc option?
c ++ performance optimization gcc
Nathan doromal
source share