Skip to content

GH-99554: marshal bytecode more efficiently#99555

Closed
brandtbucher wants to merge 9 commits intopython:mainfrom
brandtbucher:compressed-bytecode
Closed

GH-99554: marshal bytecode more efficiently#99555
brandtbucher wants to merge 9 commits intopython:mainfrom
brandtbucher:compressed-bytecode

Conversation

@brandtbucher
Copy link
Member

@brandtbucher brandtbucher commented Nov 17, 2022

This shrinks the size of .pyc files by about 25%. It also removes an intermediate copy of the bytecode created during marshalling.

Next steps will be removing the intermediate bytes object created during unmarshalling and performing the work of _PyCode_Quicken as part of this same move.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review performance Performance or resource usage stdlib Standard Library Python modules in the Lib/ directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants