24-01-2010, 18:24:49 Peter Otten <__pete...@web.de> wrote:
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: http://svn.python.org/view/python/trunk/Modules/_collectionsmodule.c?r1=68145&r2=70296&pathrev=70296
Nice. :) *j -- Jan Kaliszewski (zuo) <z...@chopin.edu.pl> -- http://mail.python.org/mailman/listinfo/python-list