[Fwd: Re: [pypy-dev] Re: psyco in Python was: Minimal Python project]

Boyd Roberts boyd at strakt.com
Mon Jan 20 12:35:07 CET 2003


  Hey, can we get a Reply-to: on this list?

-------- Original Message --------
Subject: Re: [pypy-dev] Re: psyco in Python was: Minimal Python project
Date: Mon, 20 Jan 2003 11:13:12 +0100
From: Boyd Roberts <boyd at strakt.com>
To: Christian Tismer <tismer at tismer.com>
References: 
<Pine.LNX.4.44.0301171553220.25684-100000 at starship.python.net> 
<3E2855C7.5010107 at gmx.de> <3E289AB8.105 at tismer.com>



Christian Tismer wrote:

> Thomas Fanslau wrote:
>
> ...
>
>> And don't forget the obvious replacement of a multiply by some 
>> shifts, so multiply by 5 can be replaced by a copy, a right shift 2 
>> places and a add instead of a costly multiply ...
>
>
> Ok, my 2 Eurocent:
>
> Also don't forget that this is not always true. 

Yes, on the VAX a _floating point_ multiply was faster than a shift.








More information about the Pypy-dev mailing list