[Mono-dev] [PATCH] Speed up ByteEncoding.GetString()

Kornél Pál kornelpal at gmail.com
Tue Jun 6 17:32:24 EDT 2006


Hi,

ByteEncoding.GetString() currently uses StringBuilder that is very slow. I 
modified it to use InternalAllocateStr and unsafe code that makes is much 
faster.

Please review and approve the patch.

Kornél 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ByteEncoding.diff
Type: application/octet-stream
Size: 3410 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060606/f4b88fed/attachment.obj 


More information about the Mono-devel-list mailing list