A Wednesday 22 December 2010 22:02:03 Mark Wiebe escrigué:
> On Wed, Dec 22, 2010 at 12:42 PM, Mark Wiebe <mwwi...@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 
too!).

Thanks!

-- 
Francesc Alted
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to