[Python-Dev] Calling the GC less often when there are lots of long-lived objects
Antoine Pitrou
solipsis at pitrou.net
Wed Dec 17 02:00:56 CET 2008
Christian Heimes <lists <at> cheimes.de> writes:
>
> Is it reasonable to implement multiple policies so the user can switch
> between them? Or is the new algorithm superior in all cases?
We could let the user configure the threshold between the old policy and the new
policy. Currently it is hard-wired to a value of 10000 (that is, 10000
long-lived objects tracked by the GC).
More information about the Python-Dev
mailing list