Compiler Optimization - size, speed, full, or none of the above.
-
Is there any guidelines out there for which compiler option is best for Optimization? I have heard the minimizing size is important to reduce page faults but I'm not sure. Opinions? links? Thanks Glenn
Programmer Glenn Earl Graham Austin, TX
-
Is there any guidelines out there for which compiler option is best for Optimization? I have heard the minimizing size is important to reduce page faults but I'm not sure. Opinions? links? Thanks Glenn
Programmer Glenn Earl Graham Austin, TX
earlgraham wrote:
Is there any guidelines out there for which compiler option is best for Optimization?
Yes on MSDN. However the significance of optimizations can be related to the version of the compiler, the OS, the hardware and more. So you are not likely to find any simple "Do this" answers. Here is one as an example for VS2003[^]
led mike
-
Is there any guidelines out there for which compiler option is best for Optimization? I have heard the minimizing size is important to reduce page faults but I'm not sure. Opinions? links? Thanks Glenn
Programmer Glenn Earl Graham Austin, TX
I will recommend that you don't worry about optimization until you finish your application. Then you should profile your application and check which part(s) of code needs to be tweaked. This way you will save lots of time trying to optimized things which doesn't matter. -Saurabh