This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients brett.cannon, eric.snow, gvanrossum, nedbat
Date 2021-08-26.19:23:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630005838.27.0.743852977618.issue45020@roundup.psfhosted.org>
In-reply-to
Content
Currently we freeze the 3 main import-related modules into the python binary (along with one test module).  This allows us to bootstrap the import machinery from Python modules.  It also means we get better performance importing those modules.

If we freeze modules that are likely to be used during execution then we get even better startup times.  I'll be putting up a PR that does so, freezing all the modules that are imported during startup.  This could also be done for any stdlib modules that are commonly imported.

(also see #45019 and https://github.com/faster-cpython/ideas/issues/82)
History
Date User Action Args
2021-08-26 19:23:58eric.snowsetrecipients: + eric.snow, gvanrossum, brett.cannon, nedbat
2021-08-26 19:23:58eric.snowsetmessageid: <1630005838.27.0.743852977618.issue45020@roundup.psfhosted.org>
2021-08-26 19:23:58eric.snowlinkissue45020 messages
2021-08-26 19:23:58eric.snowcreate