[Numpy-discussion] Slow element-by-element access?

Charles R Harris charlesr.harris@gmail....
Mon Nov 22 09:32:54 CST 2010

On Mon, Nov 22, 2010 at 2:30 AM, Pauli Virtanen <pav@iki.fi> wrote:

> Sun, 21 Nov 2010 23:26:37 -0700, Charles R Harris wrote:
> [clip]
> > Yes, indexing is known to be slow, although I don't recall the precise
> > reason for that. Something to do with way integers are handled or some
> > such. There was some discussion on the list many years ago...
> It could be useful if someone spent time on profiling the call overhead
> for integer indexing. From what I remember from that part of the code,
> I'm fairly sure it can be optimized.
I was thinking the same. Profiling the code could be very useful.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20101122/eb1367ae/attachment.html 

More information about the NumPy-Discussion mailing list