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

Antoine Pitrou report at bugs.python.org
Tue Feb 17 12:49:51 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

Actually, I think my previous results were in 64-bit mode already.

By the way, I don't think unconditionally using uint64_t is a good thing
on 32-bit CPUs. uint64_t might be an emulated type, and operations will
then be very slow.
It would be better to switch based on sizeof(long) (for LP64 systems) or
sizeof(void *) (for LLP64 systems).

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


More information about the Python-bugs-list mailing list