[Numpy-discussion] Slow element-by-element access?
Charles R Harris
Mon Nov 22 09:32:54 CST 2010
On Mon, Nov 22, 2010 at 2:30 AM, Pauli Virtanen <firstname.lastname@example.org> wrote:
> Sun, 21 Nov 2010 23:26:37 -0700, Charles R Harris wrote:
> > 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...
More information about the NumPy-Discussion