Message74798
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. |
|
Date |
User |
Action |
Args |
2008-10-15 10:03:17 | fredrikj | set | recipients:
+ fredrikj |
2008-10-15 10:03:17 | fredrikj | set | messageid: <1224064997.42.0.94461510007.issue4128@psf.upfronthosting.co.za> |
2008-10-15 10:03:16 | fredrikj | link | issue4128 messages |
2008-10-15 10:03:15 | fredrikj | create | |
|