zip() function troubles

Chris Mellon arkanes at
Fri Jul 27 18:02:37 CEST 2007

On 7/27/07, Istvan Albert <istvan.albert at> wrote:
> On Jul 27, 2:16 am, "Terry Reedy" <tjre... at> wrote:
> > References are not objects.
> yes this a valid objection,
> but in all fairness the example in the original post operates on
> comparably sized objects and also exhibited unexpected performance
> degradation
> as it turns out the garbage collection is the culprit, I never used to
> have to care about gc (and that's great!), but now that I'm that I'm
> shuffling 1Gb chunks I have to be more careful.

You might be interested in the gc.set_threshold function.

More information about the Python-list mailing list