[Mono-dev] [PATCH] Speed up ByteEncoding.GetString()
kornelpal at gmail.com
Wed Jun 7 12:42:50 EDT 2006
Right.:) But I posted a modified version in the response (the list is CC) to
Miguel's objections because I forgot to deal with the index parameter. And
this unnecessary unsafe marker is removed from that updated version. The
message also includes a performance comparsion.
----- Original Message -----
From: "Zac Bowling" <zac at zacbowling.com>
To: "Kornél Pál" <kornelpal at gmail.com>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Wednesday, June 07, 2006 6:38 PM
Subject: Re: [Mono-dev] [PATCH] Speed up ByteEncoding.GetString()
> Cute. The second function doesn't look like it needs to be marked unsafe
> On Tue, 2006-06-06 at 23:32 +0200, Kornél Pál wrote:
>> ByteEncoding.GetString() currently uses StringBuilder that is very slow.
>> modified it to use InternalAllocateStr and unsafe code that makes is much
>> Please review and approve the patch.
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
> Zac Bowling <zac at zacbowling.com>
More information about the Mono-devel-list