Performance of int/long in Python 3
Cousin Stanley
cousinstanley at gmail.com
Tue Mar 26 09:38:39 EDT 2013
Chris Angelico wrote:
> Interesting, so your 3.x sum() is optimizing something somewhere.
> Strange. Are we both running the same Python ?
>
> I got those from apt-get
> ....
I also installed python here under Debian Wheezy
via apt-get and our versions look to be the same ....
-sk-
2.7.3 (default, Jan 2 2013, 16:53:07) [GCC 4.7.2]
3.2.3 (default, Feb 20 2013, 17:02:41) [GCC 4.7.2]
CPU : Intel(R) Celeron(R) D CPU 3.33GHz
-ca-
2.7.3 (default, Jan 2 2013, 13:56:14) [GCC 4.7.2]
3.2.3 (default, Feb 20 2013, 14:44:27) [GCC 4.7.2]
CPU : ???
Could differences in underlying CPU architecture
lead to our differing python integer results ?
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
More information about the Python-list
mailing list