[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: re:-O2 or -O3 ?

brian white writes ("Re: re:-O2 or -O3 ? "):
> Note that "-O2" is the highest form of optimization that does not trade
> off space for speed.  Since Linux is sometimes run on machines with very
> tight memory/disk constraints, then trading off significant space (>20%)
> for insignificant speed (<10%) is, IMO, not worth it.  Measuring speed
> improvement is, unfortunately, much more difficult than measuring program
> size.

Does anyone disagree with Brian White ?  If not I'll change the
guidelines back to recommending -O2.


Reply to: