Skip to content

optimize mapping conversion for dict#2954

Merged
bors[bot] merged 2 commits intoPyO3:mainfrom
davidhewitt:optimize-mapping-conversion
Feb 15, 2023
Merged

optimize mapping conversion for dict#2954
bors[bot] merged 2 commits intoPyO3:mainfrom
davidhewitt:optimize-mapping-conversion

Conversation

@davidhewitt
Copy link
Copy Markdown
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 davidhewitt force-pushed the optimize-mapping-conversion branch from a2bddfc to 59630be Compare February 15, 2023 08:27
@davidhewitt
Copy link
Copy Markdown
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
Copy Markdown
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