[Mono-devel-list] Integer and Floating point formatters

Atsushi Eno atsushi at ximian.com
Sun Jan 30 04:53:59 EST 2005


So I ran "mono --profile nunit-console.exe
/fixture:MonoTests.System.Int32 corlib_plattest.dll" and the result was:

old: Total memory allocated: 3158 KB
new: Total memory allocated: 3871 KB


The new one is not good. Some of the performance loss looks however
because the new one is much more strict than old one (calling
Int32.FindSign() more than it used to do). I think the code could
be optimized.

I wonder which is better: buggy or slow.

Atsushi Eno

Ben Maurer wrote:
> On Sat, 2005-01-29 at 09:29 +0900, Kazuki Oikawa wrote:
>>I made formatter class that integrated functions of IntegerFormatter and
>>If you build Mono with this class.
>>please invalidate IntegerFormatter and FloatingPointFormatter.
>>This class include IntegerFormatter and FloatingPointFormatter wrapper.
> Do you have any benchmarks from the new version? I am especially
> interested in common path integer formatting (very especially
> int.ToString ()).
> -- Ben
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list