New submission from Fredrik Johansson <[EMAIL PROTECTED]>:

On my laptop (Windows XP, 32-bit), long division is about 15% slower in
2.6 compared to 2.5. See the attached .txt for timings.

I noticed this when comparing the unit tests for mpmath
(http://code.google.com/p/mpmath/) under 2.5 and 2.6. It appears that
most tests run 10-20% faster under 2.6 (good work all Python
developers!), but the tests performing very high precision arithmetic
run noticeably slower.

>From some quick benchmarking, addition and multiplication are not the
culprits (they both actually seem to be quite a bit faster in 2.6). 

There could be other factors involved, but from what I've found out so
far, it is only division that has become slower in 2.6.

Division in Python 2.4 is also the same speed as 2.5.

----------
components: Interpreter Core
files: division_speed.txt
messages: 74798
nosy: fredrikj
severity: normal
status: open
title: Performance regression in long division in 2.6
versions: Python 2.6
Added file: http://bugs.python.org/file11804/division_speed.txt

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4128>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to