int() 24 times slower then long() in Python 2.3
peter at engcorp.com
Tue Jul 13 18:54:58 CEST 2004
paolo veronelli wrote:
> On Tue, 13 Jul 2004 11:24:47 -0300, Batista, Facundo
> <FBatista at uniFON.com.ar> wrote:
>> Saying that, without having knowledge of all the int-to-long process
>> in the
>> way and it's implications, it's at least a bit rushy.
> It sounds like a joke :int to long is a zero-padding operation or
> similar,isn't it?
> Long to int should be considered MORE difficult (truncating....) .(This
> is my joke)
"int-to-long process" refers not to numeric conversion in the usual
sense, but to the reform process that is ongoing to make ints and
longs mostly and transparently interchangeable in Python.
Other than that, good joke. ;-)
More information about the Python-list