[Numpy-discussion] performance of the numpy

Nadav Horesh nadavh at visionsense.com
Thu Sep 25 11:12:05 EDT 2008


I might bot be a bug, since in numpy abs is a synonym to absolute. So it is possible that in one case the python's abs is called, and in the other case it's the numpy's.

An explicit example should help to clarify the problem.

  Nadav.


-----הודעה מקורית-----
מאת: numpy-discussion-bounces at scipy.org בשם David Cournapeau
נשלח: ה 25-ספטמבר-08 09:19
אל: Discussion of Numerical Python
נושא: Re: [Numpy-discussion] performance of the numpy
 
On Thu, Sep 25, 2008 at 9:36 AM, frank wang <f.yw at hotmail.com> wrote:
> Hi, All,
>
> I am using ipython with --pylab flag. ipython loads the numpy into the
> workspace, so I do not know abs is from python or numpy. The weird thing is
> if I execute the code line by line, I do not have any speed problem. But
> when I combine them together into one command, it slowdonws the computer
> significantly.

Yes, this is the strange part. Isn't it possible to reproduce this in
a self contained script, so that we can reproduce the bug ?

cheers,

David
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion at scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3708 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080925/606af056/attachment.bin>


More information about the NumPy-Discussion mailing list