Enable Optimizations

  • Thread starter Thread starter Hareth
  • Start date Start date
H

Hareth

VS2003:

In the properties of the solution, their is a checkbox that lets you "enable
optimizations".



What are the pos & the neg?


Why isnt this automatic? doesnt everyone want an optimized build?
 
In debugging scenarios optimizations can sometimes present problems in
getting an accurate stack trace or in inspecting local variables. that
being said, there are not many optimizations available to the C#
compiler, the JIT is in a much better position to perform
optimizations at run time when it is throwing native code together.
 
Back
Top