[Mono-devel-list] Re: optimizing foreach on strings
Varga Zoltan
vargaz at freemail.hu
Sun Mar 30 11:25:39 EST 2003
Varga Zoltan <vargaz at freemail.hu> írta:
>
> Hi,
>
> The attached patch adds an optimization to mcs so it
> generates more
> efficient code for
> foreach (char c in <STRING>)
> The optimized code avoids the try-finally block and the
> boxing. The same
> optimization is done by the MS compiler.
>
> I ran a full bootstrap and the regression test with it and
> it seems ok.
> Could somebody review the patch?
>
> thanks
>
> Zoltan
>
>
More information about the Mono-devel-list
mailing list