[Mono-devel-list] Re: [Mono-patches] r40869 - trunk/mcs/mcs

Miguel de Icaza miguel at ximian.com
Fri Feb 18 13:30:30 EST 2005


Hey,

> I don't see any reason to require /optimize here. This is an
> optimization that takes O(1) time, where the constant is *very* small.
> 
> Personally, I think /optimize should only be used to enable expensive
> optimizations. The goal of the flag is so that the default compile will
> take shorter.

Marek said that the reason was that you could not set a breakpoint in
that line if you optimize the code away.  

I also think this should just be done always, and that not being able to
set a breakpoint in that line wont hurt.



More information about the Mono-devel-list mailing list