Re-Hi,

On Wed, May 1, 2013 at 7:19 PM, Armin Rigo <ar...@tunes.org> wrote:
> Could it be helpful to have a faster version of zip() specialized to
> two arguments?  It would avoid the loop of length 2 that we do for
> each pair of items.

Done in ffe6fdf3a875.  The zip() function is now apparently more than
4 times faster when called with two smallish lists :-)

Thanks cat street for the original report.  Your benchmark is more
than 2 times faster now (the dict() is still taking the same time).


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to