cpython/Python/frozen_modules
Eric Snow cbeb819710
bpo-45020: Freeze some of the modules imported during startup. (gh-28335)
Doing this provides significant performance gains for runtime startup (~15% with all the imported modules frozen). We don't yet freeze all the imported modules because there are a few hiccups in the build systems we need to sort out first. (See bpo-45186 and bpo-45188.)

Note that in PR GH-28320 we added a command-line flag (-X frozen_modules=[on|off]) that allows users to opt out of (or into) using frozen modules. The default is still "off" but we will change it to "on" as soon as we can do it in a way that does not cause contributors pain.

https://bugs.python.org/issue45020
2021-09-15 10:19:30 -06:00
..
_collections_abc.h bpo-45020: Freeze some of the modules imported during startup. (gh-28335) 2021-09-15 10:19:30 -06:00
_sitebuiltins.h bpo-45020: Freeze some of the modules imported during startup. (gh-28335) 2021-09-15 10:19:30 -06:00
abc.h bpo-45020: Freeze some of the modules imported during startup. (gh-28335) 2021-09-15 10:19:30 -06:00
genericpath.h bpo-45020: Freeze some of the modules imported during startup. (gh-28335) 2021-09-15 10:19:30 -06:00
hello.h
importlib__bootstrap.h
importlib__bootstrap_external.h
io.h bpo-45020: Freeze some of the modules imported during startup. (gh-28335) 2021-09-15 10:19:30 -06:00
MANIFEST bpo-45020: Freeze some of the modules imported during startup. (gh-28335) 2021-09-15 10:19:30 -06:00
ntpath.h bpo-45020: Freeze some of the modules imported during startup. (gh-28335) 2021-09-15 10:19:30 -06:00
posixpath.h bpo-45020: Freeze some of the modules imported during startup. (gh-28335) 2021-09-15 10:19:30 -06:00
README.txt bpo-45019: Do some cleanup related to frozen modules. (gh-28319) 2021-09-13 16:18:37 -06:00
stat.h bpo-45020: Freeze some of the modules imported during startup. (gh-28335) 2021-09-15 10:19:30 -06:00
zipimport.h

This directory contains the generated .h files for all the frozen
modules.  Python/frozen.c depends on these files.

Note that, other than the required frozen modules, none of these files
are committed into the repo.

See Tools/scripts/freeze_modules.py for more info.