You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Deep-freeze": skip the marshal step by generating C code #89859
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/gvanrossum'closed_at=Nonecreated_at=<Date2021-11-03.00:16:36.166>labels= ['interpreter-core', '3.11']
title='"Deep-freeze": skip the marshal step by generating C code'updated_at=<Date2021-11-11.13:02:53.229>user='https://github.com/gvanrossum'
After PR 29118 is merged we get the benefits on UNIXy systems. We have several TODOs left then:
(Definitely:) Generate Windows build files
(Probably:) Find a way to avoid having to regenerate everything whenever any source file changes (any source file -> _bootstrap_python -> all generated files)
(Maybe:) Consider putting all generated code together in one file, for more savings (and build simplification)
Activity
gvanrossum commentedon Nov 3, 2021
See faster-cpython/ideas#84
This appears to improve startup time by another 10% or more compared to main.
gvanrossum commentedon Nov 10, 2021
After PR 29118 is merged we get the benefits on UNIXy systems. We have several TODOs left then:
(Definitely:) Generate Windows build files
(Probably:) Find a way to avoid having to regenerate everything whenever any source file changes (any source file -> _bootstrap_python -> all generated files)
(Maybe:) Consider putting all generated code together in one file, for more savings (and build simplification)
gvanrossum commentedon Nov 11, 2021
New changeset 1cbaa50 by Guido van Rossum in branch 'main':
bpo-45696: Deep-freeze selected modules (GH-29118)
1cbaa50