[Numpy-discussion] NEP for faster ufuncs

Francesc Alted faltet at pytables.org
Thu Jan 6 04:48:18 EST 2011


2011/1/5, Mark Wiebe <mwwiebe at gmail.com>:
> On Wed, Jan 5, 2011 at 4:26 AM, Francesc Alted <faltet at pytables.org> wrote:
>
>> 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?
>>
>
> The new iterator doesn't offer any help to fromiter in general, but if the
> iterator being given to the function is a new iterator it would be possible
> to handle it specially and get a big speedup.

Ah,  that's what I thought.  Thanks for the clarification.

-- 
Francesc Alted



More information about the NumPy-Discussion mailing list