[Python-Dev] GC Proposal (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sun Jun 29 08:59:32 CEST 2008
- Previous message: [Python-Dev] GC Proposal
- Next message: [Python-Dev] GC Proposal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Looks about equivalent, but "survivors" may mean two different things depending on if it removes deleted survivors or not. Splitting that up, we get this form:
old <= survivors * 2.0 + deleted * 1.0
What precisely would be the "deleted" count? If it counts deallocations, is it relevant what generation the deallocated object was from? If so, how do you determine the generation? If not, wouldn't
while 1: x=[]
trigger a full garbage collection fairly quickly?
Regards, Martin
- Previous message: [Python-Dev] GC Proposal
- Next message: [Python-Dev] GC Proposal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]