[issue34690] Store startup modules as C structures for 20%+ startup speed improvement

Nick Coghlan report at bugs.python.org
Thu Sep 20 09:38:22 EDT 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

python-dev thread with more discussion of the patch: https://mail.python.org/pipermail/python-dev/2018-September/155188.html

Note that my comment above was based on a misunderstanding of what the patch does - the module level code still gets executed at import time, what's able to be avoided is the unmarshalling costs.

----------

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


More information about the Python-bugs-list mailing list