Skip to content

[mypyc] Use non-tagged integer for generator label#19218

Merged
JukkaL merged 1 commit intomasterfrom
mypyc-generator-label-type
Jun 4, 2025
Merged

[mypyc] Use non-tagged integer for generator label#19218
JukkaL merged 1 commit intomasterfrom
mypyc-generator-label-type

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jun 3, 2025

Also consider it as always defined to generate simpler code.

This appears to speed up a simple benchmark by 3%, but it could be noise. This reduces the volume of generated code -- the line count of a small compiled program with a few async functions was reduced by 5%.

Also consider it as always defined to generate simpler code.

This appears to speed up a simple benchmark by 3%, but it could be
noise. This reduces the volume of generated code -- the line count of
a small compiled program with a few async functions was reduced by 5%.
@JukkaL JukkaL merged commit 71942c0 into master Jun 4, 2025
13 checks passed
@JukkaL JukkaL deleted the mypyc-generator-label-type branch June 4, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants