[Numpy-discussion] Fancy Indexing of Structured Arrays is Slow

Dave Hirschfeld dave.hirschfeld at gmail.com
Wed May 21 10:57:06 EDT 2014


Julian Taylor <jtaylor.debian <at> googlemail.com> writes:

> 
> On 16.05.2014 10:59, Dave Hirschfeld wrote:
> > Julian Taylor <jtaylor.debian <at> googlemail.com> writes:
> > 
> > Yes, I'd heard about the improvements and am very excited to try them out 
> > since indexing is one of the bottlenecks in our algorithm. 
> > 
> 
> I made a PR with the simple change:
> https://github.com/numpy/numpy/pull/4721
> 
> improves it by the expected 50%, but its still 40% slower than the
> improved normal indexing.
> 

Having some problems building numpy to test this out, but assuming it does 
what it says on the tin I'd be very keen to get this in the impending 1.9 
release if possible.

Thanks,
Dave




More information about the NumPy-Discussion mailing list