[Python-Dev] Re: Python-Dev Digest, Vol 15, Issue 46

Gregory P. Smith greg at electricrain.com
Thu Oct 28 10:16:14 CEST 2004

On Tue, Oct 19, 2004 at 10:25:27AM -0400, Evan Jones wrote:
> 1. How can we run such an occasional task? It should be called 
> regularly, if Python is actively executing or not, just like a garbage 
> collector thread would be. I don't think making this collection part of 
> the normal call to allocate/free objects is a good idea, because that 
> would add some expensive overhead in what needs to be a fast path for 
> Python.

Would attaching it to a less frequent level 1 garbage collection call
work?  (or even a level 2 if 1 is called too often)

More information about the Python-Dev mailing list