On Wed, Nov 22, 2017 at 11:28:20AM +0000, Alon Snir wrote:

> It would be faster with ‘deque’:

It isn't. According to my testing, your version with deque is 
approximately two times slower than the version from toolz.itertoolz 
that Wes quotes.


-- 
Steve
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to