Andriy Kornatskyy <andriy.kornats...@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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com