Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Compiler Optimization - size, speed, full, or none of the above.

Compiler Optimization - size, speed, full, or none of the above.

Scheduled Pinned Locked Moved Managed C++/CLI
performancealgorithmsquestiondiscussion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    earlgraham
    wrote on last edited by
    #1

    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

    L S 2 Replies Last reply
    0
    • E earlgraham

      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

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • E earlgraham

        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

        S Offline
        S Offline
        Saurabh Garg
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups