[Mono-dev] Make use of --desktop and --server VM modes [was Re: ToString() performace in Mono revisited]

Miguel de Icaza miguel at novell.com
Mon Dec 31 12:53:53 EST 2007


> > I still believe we should start optimizing both ends and using the
> > --desktop and --server modes we already support but which we are not
> > using yet.
> 
> This is wrong, at least in the context of this mail. Those switches
> will affect JIT compiler optimizations, whereas this mail is
> about suboptimal implementation of ToString (). Even a über-JIT
> won't be able to turn a suboptimal algorithm into a good one.

Another option would be to expose the setting to class libraries, so the
class libraries could pick between two implementation.

But I feel uneasy about adding this sort of feature, because it would
basically create another column in matrix testing (we would then have to
test everything against both configurations).

Am not sure that this extra source of potential errors is worth it at
this point.



More information about the Mono-devel-list mailing list