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

optimize mapping conversion for dict #2954

Merged
merged 2 commits into from
Feb 15, 2023

Conversation

davidhewitt
Copy link
Member

Equivalent of #2944 for dicts -> mapping.

The benchmark diff is not as significant as in #2944. Still something like 80ns -> 2ns on my machine.

@davidhewitt davidhewitt force-pushed the optimize-mapping-conversion branch 2 times, most recently from 0482628 to a2bddfc Compare February 15, 2023 08:10
@davidhewitt
Copy link
Member Author

To reduce the review burden, I'm going to proceed to merge this and #2944. I think both are not controversial.

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 15, 2023

Build succeeded:

@bors bors bot merged commit 18e7094 into PyO3:main Feb 15, 2023
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