[Mono-list] Bug in String.Replace / StringBuilder.Replace

Dick Porter dick@ximian.com
14 Jul 2004 16:03:22 +0100


On Wed, 2004-07-14 at 15:36, Jochen Wezel wrote:
> Hi!
> 
> There is a problem in Mono 1.0 when replacing in a string or
> stringbuilder object.
> 
> The myBuffer variable contains a string of 7 MB. For small strings, it
> seems to work. But with larger ones as my 7 MB string, the line
> 
>             myBuffer.Replace(vbCrLf, vbLf)
> runs more than half an hour before finishing.

This sounds like bug 61167, which I fixed last week.

> 
> Can somebody please fix this asap? Thanks!!!

Already done :)

We will be releasing an updated 1.0 release soon.  Before then you can
check out the mono-1-0 branch of mono and mcs to get the fixes.

- Dick