[Patches] GC infrastructure patch 1 (tp_recurse, tp_clear)

Neil Schemenauer nascheme@enme.ucalgary.ca
Thu, 15 Jun 2000 16:10:39 -0600


On Thu, Jun 15, 2000 at 11:50:00PM +0200, M.-A. Lemburg wrote:
> Hmm, I guess we'd need to add some more free lists for
> small containers then...

I don't think this will help the GC too much.  Currently I remove
tuples from the GC set when they are placed on the free list.  My
thinking was that setting the pointers to NULL would be more
expensive than removing the object from the set.  Another
advantage is that the collector doesn't have to look at objects
on the free list.  However, more free lists might help offset the
cost of the GC.

  Neil