zip() function troubles

Paul Rubin http
Fri Jul 27 20:51:31 CEST 2007


Raymond Hettinger <python at rcn.com> writes:
> > What was really surprising is that it works with no issues up
> > until 1 million items, but for say 10 million it pretty much goes
> > nuts. Does anyone know why?
> 
> There's nothing in izip() that holds memory, tracks indices, or ...

The issue was with zip, not izip.  It was caused by gc running too often.



More information about the Python-list mailing list