Hello,
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
Index: System/ChangeLog
===
--- System/ChangeLog (revision 105
dreas
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:mono-devel-list-
> [EMAIL PROTECTED] Im Auftrag von Juraj Skripsky
> Gesendet: Montag, 16. Juni 2008 16:38
> An: mono-devel
> Betreff: [Mono-dev] [Patch] Small optimization to String.Replace and
> StringBuilder.Replace
o-devel-list-
> > [EMAIL PROTECTED] Im Auftrag von Juraj Skripsky
> > Gesendet: Montag, 16. Juni 2008 16:38
> > An: mono-devel
> > Betreff: [Mono-dev] [Patch] Small optimization to String.Replace and
> > StringBuilder.Replace
> >
> > Hello,
> >
> &