[issue4294] Macros for PyLong: sign, number of digits, fits in an int
STINNER Victor
report at bugs.python.org
Tue Nov 11 03:16:58 CET 2008
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
More numbers!
------ 64 bits CPU -------
original: 885.0 ms
fast long: 746.8 ms (+16%) -- issue #3944
--------------------------
+16% only with an optimized multiplicaton, great job Pernici :-)
------ 32 bits CPU -------
original: 1564.3 ms
30 bits: 1497.3 ms (+4%)
fast long: 1591.7 ms (-2%)
GMP: 1564.4 ms (=)
--------------------------
It looks like the operation 32 bits x 32 bits is slower on a 32 bits
CPU, the gain is small (only +4%). fast long and a little bit slower,
and GMP patch doesn't change anything.
----------
nosy: +pernici
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4294>
_______________________________________
More information about the Python-bugs-list
mailing list