[issue32346] Speed up slot lookup for class creation

INADA Naoki report at bugs.python.org
Fri Jan 12 05:06:27 EST 2018


INADA Naoki <songofacandy at gmail.com> added the comment:

As my understand, this patch creates cache for all classe,
not only for parent classes.
Caches may has much tuples, and they are GC tracked because
they contains function descriptors.  And they actually creates
reference cycles.

Am I correct?

If so, I want estimate of GC overhead and memory overhead of cache
for large project.  Is it really negligible?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32346>
_______________________________________


More information about the Python-bugs-list mailing list