[Numpy-discussion] NEP for faster ufuncs

Francesc Alted faltet at pytables.org
Wed Jan 5 07:26:08 EST 2011

2011/1/4, Mark Wiebe <mwwiebe at 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

More information about the NumPy-Discussion mailing list