[issue7652] Merge C version of decimal into py3k.

STINNER Victor report at bugs.python.org
Wed Nov 30 22:13:43 CET 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> (Actually, that's a part of why decimal.py is slow---it's
> using Python's *binary* integers to store *decimal* coefficients,
> so that even simple addition is now a quadratic operation,
> thanks to the binary <-> decimal conversions involved.)

Oh, I forgot this minor detail (base 2 vs base 10).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7652>
_______________________________________


More information about the Python-bugs-list mailing list