In <[EMAIL PROTECTED]>, Paul Rubin wrote: > "n00m" <[EMAIL PROTECTED]> writes: >> h = collections.defaultdict(itertools.repeat(0).next) > > Something wrong with > h = collections.defaultdict(int) > ?????
According to a post by Raymond Hettinger it's faster to use that iterator instead of `int`. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list