[Mono-devel-list] optimizing foreach on strings
Varga Zoltan
vargaz at freemail.hu
Fri Mar 28 14:04:31 EST 2003
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: statement-diff
Type: application/octet-stream
Size: 1880 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030328/2a345842/attachment.obj
More information about the Mono-devel-list
mailing list