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

Juraj Skripsky js at hotfeet.ch
Mon Sep 8 15:28:21 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, ChangeLog entries are included.
Please review.

- Juraj

PS: I've already posted this patch back in June, but this time I've
leaving out the controversial part.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StringReplace.patch
Type: text/x-patch
Size: 2839 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080908/fe954ea4/attachment-0001.bin 

More information about the Mono-devel-list mailing list