diff options
author | Juraj Skripsky <js@hotfeet.ch> | 2008-09-28 12:22:28 +0400 |
---|---|---|
committer | Juraj Skripsky <js@hotfeet.ch> | 2008-09-28 12:22:28 +0400 |
commit | bc9fd8e27d03fd79d4ba3bf191bd6ce827076376 (patch) | |
tree | 257e59de033ef43467831b53ba20af655c8c2ecf /mcs/class/corlib/System/ChangeLog | |
parent | 4990894fc4193288cdc9f9c0c17f27e3f3a75e28 (diff) |
2008-09-28 Juraj Skripsky <js@hotfeet.ch>
* String.cs (ReplaceUnchecked): Avoid any unnecessary work and
string allocations by returning early when no oldValue was found.
2008-09-08 Juraj Skripsky <js@hotfeet.ch>
* StringBuilder.cs (Replace): Return early when no oldValue was
found. Avoid extra string allocations.
svn path=/trunk/mcs/; revision=114321
Diffstat (limited to 'mcs/class/corlib/System/ChangeLog')
-rw-r--r-- | mcs/class/corlib/System/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/class/corlib/System/ChangeLog b/mcs/class/corlib/System/ChangeLog index 548f036cc81..b6ca2d59e5a 100644 --- a/mcs/class/corlib/System/ChangeLog +++ b/mcs/class/corlib/System/ChangeLog @@ -1,3 +1,8 @@ +2008-09-28 Juraj Skripsky <js@hotfeet.ch> + + * String.cs (ReplaceUnchecked): Avoid any unnecessary work and + string allocations by returning early when no oldValue was found. + 2008-09-24 Marek Habersack <mhabersack@novell.com> * Double.cs: check whether decimal_separator, group_separator and |