[Numpy-discussion] NEP for faster ufuncs
Wed Dec 22 15:02:03 CST 2010
On Wed, Dec 22, 2010 at 12:42 PM, Mark Wiebe <email@example.com> wrote:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion