NETMF / llilum

Development Platform for MSIL and UWP apps targeting Micro Controllers. Part of the .NET Micro Framework family.
Other
159 stars 52 forks source link

Implement StringBuilder.Replace( String oldValue, String newValue, int startIndex, int count ) to never allocate more than once #167

Open lt72 opened 8 years ago

lt72 commented 8 years ago

The current implementation substitutes one occurrence at a time, and causes re-allocation of the target strings multiple times.