Consume an iterable

Peter Otten __peter__ at
Sun Jan 24 18:24:49 CET 2010

Jan Kaliszewski wrote:

> But the corret results even more distinctly support my thesis -- that for
> n=None using n=sys.maxint (consume3) is noticeably faster than 0-maxlen
> deque (consume1 and consume2):

That advantage may not survive the next release:


More information about the Python-list mailing list