2011/1/4, Mark Wiebe <mwwi...@gmail.com>:
>> To get a deeper understanding of the code, I am starting to implement
>> several benchmarks to compare old and new iterator - do you already
>> have some of them handy ?
>>
>
> So far I've just done timing with the Python exposure, C-based benchmarking
> is welcome.  Where possible, NPY_ITER_NO_INNER_ITERATION should be used,
> since it exposes the possibility of longer inner loops with no function
> calls.  An example where this is not possible is when coordinates are
> required.  I should probably put together a collection of copy/paste
> templates for typical use.

Sorry for the naive question, but I use the numpy.fromiter() iterator
quite a few in my projects. and I'm curious on whether this new
iterator would allow numpy.fromiter() to go faster (I mean, in Python
space).  Any hint?

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

Reply via email to