[SciPy-user] Anybody used weave.blitz to speed NumPy up?

Travis Oliphant oliphant.travis at ieee.org
Thu Jun 29 00:49:53 CDT 2006

Fernando Perez wrote:
> On 6/28/06, Travis Oliphant <oliphant at ee.byu.edu> wrote:
>> Hello.
>> I've been playing around with weave and NumPy.  I have not been able to
>> get weave.blitz to speed up any expression.  Has anybody had success at
>> doing this with new NumPy.
> Try the attached script, which JDH wrote for one of our workshops last
> year, and which I cleaned up for current numpy/weave for the April
> one.  Run it /twice/, since the first time the compilation overhead
> will swamp the weave.blitz results.  I've attached the result on my
> machine for the second run, which do show an improvement (and a
> similar one to what I recall from last summer, when John and I ran
> this using Numeric/Old Scipy).

My results seem to indicate a problem either with my installation or 
with current weave.blitz.   Could somebody else running NumPy and SciPy 
with weave also run the script.

Fernando, could you send the source code of the function that was 
created and compiled by weave.



More information about the SciPy-user mailing list