Skip to content

Conversation

@brandtbucher
Copy link
Member

@brandtbucherbrandtbucher commented Mar 9, 2023

Nothing too clever here, just using 16 bits for module versions instead of 32. LOAD_GLOBAL still has no failures after this change.

Benchmarks came back very slightly negative, but I believe that's just noise (the results are being pulled down by several benchmarks known for their instability).

@brandtbucherbrandtbucher added performance Performance or resource usage interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Mar 9, 2023
@brandtbucherbrandtbucher self-assigned this Mar 9, 2023
@bedevere-botbedevere-bot mentioned this pull request Mar 9, 2023
@markshannon
Copy link
Member

Looks good.

We will need to change the versioning scheme to reduce the chance of the version number reaching 2**16, but it is reasonable to do this first.

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

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@brandtbucher@markshannon@bedevere-bot