Re: [Python-Dev] Calling the GC less often when there are lots of long-lived objects

2008-12-17 Thread Antoine Pitrou
Martin v. Löwis v.loewis.de> writes: > > So despite the organizational overhead, I'd appreciate if you could > create separate patches, if not separate issues. Ok, I'm gonna do that. Regards Antoine. ___ Python-Dev mailing list Python-Dev@python.or

Re: [Python-Dev] Calling the GC less often when there are lots of long-lived objects

2008-12-17 Thread Martin v. Löwis
> I've removed the threshold in the latest patches because it didn't make much > sense when a few long-lived objects contained a lot of objects not tracked by > the GC. > > Another improvement I've included in the latest patches (but which is > orthogonal to the algorithmic change) is that simple

Re: [Python-Dev] Calling the GC less often when there are lots of long-lived objects

2008-12-17 Thread Kevin Jacobs
On Tue, Dec 16, 2008 at 8:00 PM, Antoine Pitrou wrote: > Christian Heimes 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? > >

Re: [Python-Dev] Calling the GC less often when there are lots of long-lived objects

2008-12-16 Thread Antoine Pitrou
Christian Heimes 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

Re: [Python-Dev] Calling the GC less often when there are lots of long-lived objects

2008-12-16 Thread Christian Heimes
Antoine Pitrou schrieb: > Is anybody opposed to the principle of this proposal? Is it reasonable to implement multiple policies so the user can switch between them? Or is the new algorithm superior in all cases? ___ Python-Dev mailing list Python-Dev@pyt

Re: [Python-Dev] Calling the GC less often when there are lots of long-lived objects

2008-12-16 Thread Greg Ewing
Antoine Pitrou wrote: I've proposed a patch which basically implements Martin's suggestion in http://mail.python.org/pipermail/python-dev/2008-June/080579.html Is anybody opposed to the principle of this proposal? Sounds okay to me. -- Greg ___ Pyth