[Numpy-discussion] NEP for faster ufuncs

Mark Wiebe mwwiebe at gmail.com
Wed Jan 5 13:01:18 EST 2011


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.

-Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110105/e7b0f3ee/attachment.html>


More information about the NumPy-Discussion mailing list