This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fredrikj
Recipients fredrikj
Date 2008-10-15.10:03:14
SpamBayes Score 1.570327e-06
Marked as misclassified No
Message-id <1224064997.42.0.94461510007.issue4128@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-10-15 10:03:17fredrikjsetrecipients: + fredrikj
2008-10-15 10:03:17fredrikjsetmessageid: <1224064997.42.0.94461510007.issue4128@psf.upfronthosting.co.za>
2008-10-15 10:03:16fredrikjlinkissue4128 messages
2008-10-15 10:03:15fredrikjcreate