[issue36521] Consider removing docstrings from co_consts in code objects

Irit Katriel report at bugs.python.org
Sat Oct 2 04:22:54 EDT 2021


Irit Katriel <iritkatriel at gmail.com> added the comment:

> This not saves only memory usage, but also import time too.

Do you see a measurable impact on import time?

With LOAD_NONE I saw speedup of 8% on micro benchmarks but it didn’t make any difference overall.

----------

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


More information about the Python-bugs-list mailing list