[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

Mark Dickinson report at bugs.python.org
Wed Feb 18 21:34:06 CET 2009

Mark Dickinson <dickinsm at gmail.com> added the comment:

And here are results from 64-bit builds on the same machine as above (OS X 
10.5.6/Core 2 Duo, gcc 4.0.1 from Apple).

./python.exe ../pidigits_noprint.py 2000 gives the following timings:

30-bit digits:                 Time; 1245.9 ms
30-bit digits + optimizations: Time; 1184.4 ms
unpatched py3k:                Time; 2479.9 ms

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list