[issue40255] Fixing Copy on Writes from reference counting and immortal objects
Inada Naoki
report at bugs.python.org
Sat Feb 12 01:30:26 EST 2022
Inada Naoki <songofacandy at gmail.com> added the comment:
I think making more objects immortal by default will reduce the gap, although I am not sure it can be 2%. (I guess 3% and I think it is acceptable gap.)
* Code attributes (contents of co_consts, co_names, etc...) in deep frozen modules.
* only if subinterpreter shares them.
* Statically allocated strings (previously _Py_IDENTIFIER)
To reduce gap more, we need to reduce Python stack operation in ceval in some way.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40255>
_______________________________________
More information about the Python-bugs-list
mailing list