[Python-Dev] Calling the GC less often when there are lots of long-lived objects (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Wed Dec 17 02:00:56 CET 2008
- Previous message: [Python-Dev] Calling the GC less often when there are lots of long-lived objects
- Next message: [Python-Dev] Calling the GC less often when there are lots of long-lived objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Christian Heimes <lists 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).
- Previous message: [Python-Dev] Calling the GC less often when there are lots of long-lived objects
- Next message: [Python-Dev] Calling the GC less often when there are lots of long-lived objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]