Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42536>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to