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

Gregory P. Smith report at bugs.python.org
Wed Feb 18 20:36:21 CET 2009


Gregory P. Smith <greg at krypto.org> added the comment:

On 32-bit x86 (1.4Ghz Efficeon) using gcc 4.3.2-1ubuntu12 I see the 
following perf with pidigits_noprint 2000:

py3k:
baseline   longdigit14    longdigit13+optimizations
3709 ms    3664ms         4545ms

Those were from the best of five runs after a warmup loop while the 
system was idle.  --enable-big-digits was passed to configure and 
sys.int_info confirmed it was 30bits on the longdigit versions.

baseline is entirely unpatched.

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


More information about the Python-bugs-list mailing list