[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-dev
Subject:    Re: [Python-Dev] Proposal: Run GC less often
From:       Terry Reedy <tjreedy () udel ! edu>
Date:       2008-06-23 6:13:55
Message-ID: g3neut$klc$1 () ger ! gmane ! org
[Download RAW message or body]



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

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-dev%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic