[Python-Dev] [RELEASE] Python 2.7.4 release candidate 1
Stefan Krah
stefan at bytereef.org
Wed Mar 27 12:34:35 CET 2013
Andriy Kornatskyy <andriy.kornatskyy at live.com> wrote:
> > but you can install this backport from PyPI: https://pypi.python.org/pypi/cdecimal/2.3
>
> This is what I was looking for.
Note that for numerical work _decimal from Python3.3 is vastly faster than
cdecimal. I've added two major speedups (credit for one of them goes to
Antoine), so these are the numbers for the pi benchmark:
Python3.3 (_decimal): time: 0.15s
Python3.3 (decimal.py): time: 17.22s
=====================================
Python2.7 (cdecimal): time: 0.29s
Python2.7 (decimal.py): time: 17.74s
=====================================
For database work and such the numbers should be about the same.
Stefan Krah
More information about the Python-Dev
mailing list