[Numpy-discussion] NEP for faster ufuncs

Francesc Alted faltet at pytables.org
Wed Dec 22 16:20:40 EST 2010

A Wednesday 22 December 2010 22:02:03 Mark Wiebe escrigué:
> On Wed, Dec 22, 2010 at 12:42 PM, Mark Wiebe <mwwiebe at gmail.com>
> wrote: <snip>
> > I think numexpr could get a nice boost from using the new iterator
> > internally though
> There's actually a trivial way to do this with very minimal changes
> to numexpr - the 'itview' mechanism. Create the new iterator, call
> NpyIter_GetIterView(it,i) (or it.itviews in Python) to get
> compatibly reordered views of the inputs, then continue with the
> existing code.

That's interesting.  I'll think about this (patches are very welcome 


Francesc Alted

More information about the NumPy-Discussion mailing list