Skip to content

change PyDict::from_sequence to take just &PyAny#3532

Merged
adamreichold merged 1 commit intoPyO3:mainfrom
davidhewitt:dict-from-seq
Oct 20, 2023
Merged

change PyDict::from_sequence to take just &PyAny#3532
adamreichold merged 1 commit intoPyO3:mainfrom
davidhewitt:dict-from-seq

Conversation

@davidhewitt
Copy link
Member

This is similar to #3389 in changing a two-argument function to take just &PyAny. Hopefully not controversial!

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 20, 2023

CodSpeed Performance Report

Merging #3532 will improve performances by 10.14%

Comparing davidhewitt:dict-from-seq (d895734) with main (d8a6f37)

Summary

⚡ 1 improvements
✅ 77 untouched benchmarks

Benchmarks breakdown

Benchmark main davidhewitt:dict-from-seq Change
list_via_extract 301.7 ns 273.9 ns +10.14%

@adamreichold adamreichold added this pull request to the merge queue Oct 20, 2023
Merged via the queue into PyO3:main with commit 9d75325 Oct 20, 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.

3 participants