[Python-Dev] Proposal: Run GC less often

Terry Reedy tjreedy at udel.edu
Mon Jun 23 08:13:55 CEST 2008



Neil Schemenauer wrote:
>
> BTW, I suspect that documentation needs updating since I understand
> that the GC is no longer optional (the stdlib and/or the Python
> internals create reference cycles themselves).

Is it possible and might it be useful for those internal cycle-creating 
operations to increment a counter that was part of the gc trigger? 
Doing millions of 'safe' operations would then leave the counter alone 
and could have less effect in triggering gc.

tjr



More information about the Python-Dev mailing list