29 Sep
2012
29 Sep
'12
11:22 a.m.
Antoine Pitrou
Wow! I had no idea cdecimal was that close in speed to float. That's seriously impressive.
I think this means the performance difference is on the same order of magnitude as the CPython interpretation overhead. Still, it's impressive indeed.
Of course, if you compare a pure C program that uses libmpdec to a C program that uses floats, the difference will be much higher. Stefan Krah