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 lemburg
Recipients brett.cannon, eric.snow, gvanrossum, lemburg, nedbat
Date 2021-08-26.19:34:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <4554daaa-829d-d4fa-5a81-2b37f75b1dc1@egenix.com>
In-reply-to <1630005838.27.0.743852977618.issue45020@roundup.psfhosted.org>
Content
Not sure whether you are aware, but the PyRun project I'm maintaining
does that and goes beyond this by freezing almost the complete stdlib
and statically linking most C extensions into a single binary:

https://www.egenix.com/products/python/PyRun/

Startup is indeed better, but not as much as you might think.
You do save stat calls and can share resources across processes.

The big time consumer is turning marshal'ed code objects back
into Python objects, though. If that could be made faster by
e.g. using a more efficient storage format such as one which is
platform dependent, it'd be a much bigger win than the freezing
approach.
History
Date User Action Args
2021-08-26 19:34:28lemburgsetrecipients: + lemburg, gvanrossum, brett.cannon, nedbat, eric.snow
2021-08-26 19:34:28lemburglinkissue45020 messages
2021-08-26 19:34:28lemburgcreate