[Mono-dev] ToString() performace in Mono

Kazuki Oikawa kazuki at panicode.com
Sat Nov 24 00:01:45 EST 2007


Hi.

This patch improves ToString performance (30% faster).

Running on Opteron 270 (2GHz), Gentoo Linux 2007.0 x86_64
$ mono hoge.exe
val is 5999999 and time 7008 (before)
$ mono hoge.exe
val is 5999999 and time 5078 (after)

Current code is use "G" format but this equals "D" format
when precision is not defined and value is integer.

Best regards.

-- 
Kazuki Oikawa

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071124/ebb0ae37/attachment.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071124/ebb0ae37/attachment.bin 


More information about the Mono-devel-list mailing list