[issue4128] Performance regression in long division in 2.6

STINNER Victor report at bugs.python.org
Wed Oct 15 12:44:09 CEST 2008


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

The source code is unchanged except the format functions (binary and 
octal bases with the new prefixes: 0b, 0o). The speed difference comes 
from different compiler options.
 - (Ubuntu Gutsy) python2.5: 1010 ms
 - python trunk: 1010 ms
 - python trunk with -O0: 1800 ms

I'm using -O0 to help gdb debug, but the default gcc optimization 
level for Python is -03.

Did you recompiled your own Python or did you use the binary at 
python.org? Look at the compilater option for python 2.5 and python 
2.6.

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list