Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 6113 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What sorts of optimizations does the Visual C++ 6 compiler (enterprise version) do? The ones that about which I am most curious is whether it removes redundant brackets (i.e a = "(1+(6*9));") and if it doesn''t include any functions that aren''t used

Share this post

Link to post
Share on other sites
parenthesis, eg. ''('' and '')'' don''t generate code themselves, they can control the order of the code generation.

So basically on that front you have nothing to worry about.

As far as removing functions that aren''t used from a binary image, that is the job of the linker.

''strip dead code'' or some other such optimizations for the linker will help reduce code size. but that has no direct impact on performance of the code - it may impact the performance of the application - if it fits in a smaller memory footprint there could be less swap file activity.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!