Skip to content

bpo-42926: call compute_code_flags() once and and reuse the value#31116

Closed
iritkatriel wants to merge 1 commit intopython:mainfrom
iritkatriel:bpo-42926
Closed

bpo-42926: call compute_code_flags() once and and reuse the value#31116
iritkatriel wants to merge 1 commit intopython:mainfrom
iritkatriel:bpo-42926

Conversation

@iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Feb 3, 2022

This is not just about saving a call to compute_code_flags(), it also reduces the reliance on the "struct compiler" pointer in the functions of the assembler stage so it's a small step towards the refactor.

https://bugs.python.org/issue42926

@iritkatriel iritkatriel changed the title bpo-42926: call compute_code_flags() and and reuse the value bpo-42926: call compute_code_flags() once and and reuse the value Feb 3, 2022
@iritkatriel
Copy link
Member Author

This will be rolled into the big refactor, no point doing it separately.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants