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

Zac Bowling zac at zacbowling.com
Wed Jun 7 12:38:08 EDT 2006


Cute. The second function doesn't look like it needs to be marked unsafe
though. 

On Tue, 2006-06-06 at 23:32 +0200, Kornél Pál wrote:
> 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 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-- 
Zac Bowling <zac at zacbowling.com>




More information about the Mono-devel-list mailing list