[Mono-dev] [Patch] Small optimization to String.Replace and StringBuilder.Replace

Juraj Skripsky js at hotfeet.ch
Mon Jun 16 10:38:09 EDT 2008


Attached you'll find a patch which reduces the number of allocations
done in String.Replace and StringBuilder.Replace.

All unit tests pass.
Please review.

- Juraj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StrReplace.patch
Type: text/x-patch
Size: 3671 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080616/6fd7d811/attachment.bin 

More information about the Mono-devel-list mailing list