[Mono-dev] [PATCH] Boost speed of UnicodeEncoding
kornelpal at hotmail.com
Fri Mar 17 13:29:59 EST 2006
> From: "Atsushi Eno" <atsushi at ximian.com>
> Cool, thanks Kornél. Can you please commit the patch with a few
> coding style fixes?
> foo [i] instead of foo[i]
> Blah () instead of Blah()
> (byte) x instead of (byte)x
As previously I followed the style of existing code I modified the style of
the entire code. In addition I moved UnicodeDecoder to the top of
UnicodeEncoding to have a more common style.
Previously I forgot to update UnicodeDecoder.GetChars but now it is updated
Lupus pointed out the problem with zero-length arrays so now it is fixed as
Please have another look at the patch. Now I consider it to be complete.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 29793 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060317/f6bc584c/attachment.obj
More information about the Mono-devel-list