[Python-Dev] iterzip()

Neil Schemenauer nas@python.ca
Mon, 29 Apr 2002 13:13:20 -0700


Jeremy Hylton wrote:
> Note that there's a net excess of allocations in the storetup() case,
> so we invoke the garbage collector every n/700 times through the
> loop.

That's the dirty culprit. :-)  With the GC disabled:

  justpush   0.81
   justzip   0.75

Perhaps we should raise the default threshold.

  Neil