Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store actual ints, not pointers to them in the interpreter state. #29274

Merged

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Oct 28, 2021

Make the array of small ints just that. An array of ints, not an array of pointers.
In theory should be a tiny bit faster, and removes a possible failure mode when creating the interpreter state.

Performance is about the same seemingly slowing down floats a bit, possibly because the float free list is now further from the start of the interpreter state.

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