Jump to content
  • Advertisement


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



This topic is 6198 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!