[Mono-dev] StringBuilder Minor Performance Patch

Mike Glenn mglenn at zoominternet.net
Wed Jan 18 23:00:02 EST 2006


I've got some code that makes a large number of calls to
StringBuilder.Append() and I noticed that in most of Append methods the
length calulation is performed twice. So here's a little patch that should
fix that issue.

Mike Glenn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StringBuilderLengthCalc.patch
Type: application/octet-stream
Size: 1419 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060118/45955dfa/attachment.obj 


More information about the Mono-devel-list mailing list