<div class="gmail_quote">On Wed, Dec 22, 2010 at 12:42 PM, Mark Wiebe <span dir="ltr"><<a href="mailto:mwwiebe@gmail.com">mwwiebe@gmail.com</a>></span> wrote:<br><div><snip> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div>I think numexpr could get a nice boost from using the new iterator internally though</div></div></blockquote><div><br></div><div>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.</div>
<div><br></div><div>-Mark</div></div>