Skip to content

gh-142889: Improve layout of dictionary keys#150640

Open
brijkapadia wants to merge 5 commits into
python:mainfrom
brijkapadia:dict-keys
Open

gh-142889: Improve layout of dictionary keys#150640
brijkapadia wants to merge 5 commits into
python:mainfrom
brijkapadia:dict-keys

Conversation

@brijkapadia
Copy link
Copy Markdown
Contributor

@brijkapadia brijkapadia commented May 30, 2026

This is based on the work of @clintonsteiner in PR #145097. Most of it is very similar although I did make my own changes.

This PR updates the memory layout of _dictkeysobject to improve performance.

@brijkapadia brijkapadia marked this pull request as draft May 30, 2026 22:01
@brijkapadia brijkapadia marked this pull request as ready for review May 31, 2026 12:15
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.

1 participant