[pypy-issue] [issue826] Decimal seems slower on pypy than cpython

Benjamin Peterson benjamin at python.org
Fri Aug 12 04:36:39 CEST 2011


2011/8/11 Alex Gaynor <tracker at bugs.pypy.org>:
>
> Alex Gaynor <alex.gaynor at gmail.com> added the comment:
>
> According to callgrind, *50%* of the time in this program is spent in
> rbigint.str(), apparently decimal.py is based on converting things to strs
> internally?

Yes, that's the way it achieves a fixed point precision.



-- 
Regards,
Benjamin


More information about the pypy-issue mailing list