Speed Comparison Perl Python & C

Thomas Heller theller at python.net
Tue Mar 2 22:23:02 CET 2004


> On 2004-03-02 15:52:55 -0500, "Neil Hodgson" <nhodgson at bigpond.net.au> said:

>> Python does optimize integers that can be represented in 32 bits but
>> larger than that and unbounded integers are used. For some
>> applications, it would be better if Python also optimized integers
>> that require between 32 and 64 bits.
>

Bob Ippolito <bob at redivi.com> writes:

> Especially on architectures that have 64 bit integer registers, but
> are running on an operating system/compiler combination that uses 32
> bits for int and long (such as the PowerPC 970, on OS X).  I would
> imagine a similar situation exists for other processor/enivronment
> combinations.

Instead of making this is responsibility of the Python code, wouldn't
this better be a job for psyco?

BTW, does psyco run on non-x86 architectures?

Thomas





More information about the Python-list mailing list