Re: [Python-ideas] Rewriting the "roundrobin" recipe in the itertools documentation

Nov. 23, 2017
12:48 p.m.
Sorry. Unfortunately I had a mistake. Alon Snir Date: Thu, 23 Nov 2017 12:29:47 +1100 From: Steven D'Aprano <steve@pearwood.info> To: python-ideas@python.org Subject: Re: [Python-ideas] Rewriting the "roundrobin" recipe in the itertools documentation Message-ID: <20171123012947.GT19802@ando.pearwood.info> Content-Type: text/plain; charset=utf-8 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
2673
Age (days ago)
2673
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alon Snir