This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients brandtbucher, pablogsal, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2020-12-03.20:24:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607027062.93.0.80758513143.issue42536@roundup.psfhosted.org>
In-reply-to
Content
> not untracking tuples that have refcount == 1.

Actually, this may not be a good idea as well: running test_list shows that there are 14786 tuples with refcount == 1 that would have been untracked. This is a non-trivial workload to the gc passes that we will lose if we do this.

Performance-wise, I think the best alternative is to force the tracking before visiting in tp_traverse.
History
Date User Action Args
2020-12-03 20:24:22pablogsalsetrecipients: + pablogsal, tim.peters, rhettinger, vstinner, serhiy.storchaka, brandtbucher
2020-12-03 20:24:22pablogsalsetmessageid: <1607027062.93.0.80758513143.issue42536@roundup.psfhosted.org>
2020-12-03 20:24:22pablogsallinkissue42536 messages
2020-12-03 20:24:22pablogsalcreate