mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-45696: Deep-freeze selected modules (GH-29118)
This gains 10% or more in startup time for `python -c pass` on UNIX-ish systems. The Makefile.pre.in generating code builds on Eric's work for bpo-45020, but the .c file generator is new. Windows version TBD.
This commit is contained in:
parent
fc9b622819
commit
1cbaa505d0
16 changed files with 808 additions and 56 deletions
6
Python/deepfreeze/README.txt
Normal file
6
Python/deepfreeze/README.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
This directory contains the generated .c files for all the deep-frozen
|
||||
modules. Python/frozen.c depends on these files.
|
||||
|
||||
None of these files are committed into the repo.
|
||||
|
||||
See Tools/scripts/freeze_modules.py for more info.
|
Loading…
Add table
Add a link
Reference in a new issue