Message94402
The type is an important performance factor but most uses of it are for
small ints (< 2**32 or 2**64), so your approach wouldn't make much of a
difference.
Besides, there are already some improvements in the py3k branch (for
example, longs now use 30-bit "digits" on 64-bit systems).
> I am aware of the
> following 'speed tweaks' in Python 2.x integers, aren't these lost now?
Yes, they are. As a result, calculations on small ints have become a bit
slower. |
|
Date |
User |
Action |
Args |
2009-10-24 06:50:16 | pitrou | set | recipients:
+ pitrou, tim.peters, loewis, gregsmith, rhettinger, mark.dickinson, christian.heimes, sopoforic |
2009-10-24 06:50:15 | pitrou | set | messageid: <1256367015.65.0.234608532096.issue1087418@psf.upfronthosting.co.za> |
2009-10-24 06:50:14 | pitrou | link | issue1087418 messages |
2009-10-24 06:50:13 | pitrou | create | |
|