Open samuelcolvin opened 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
:loudspeaker: Thoughts on this report? Let us know!
This makes a substantial difference locally, but codspeed seems to disagree
???
Is "locally" arm or x86_64? Might differ greatly between the two platforms.
TBH I'm ok with this but I also just think that really PyO3 should be reworking its list constructor to allow this.
Locally was macos.
Not clear there's an improvement on x86, might even be worse (although I have no idea how it could be):
So I'll leave this, we can either reconsider or close.
I think better is that I aim to fix PyO3 to avoid needless reference count operations. Would be a modest speedup for quite a few operations / smaller binary size :)
CodSpeed Performance Report
Merging #74 will not alter performance
Comparing
fast-pylist
(6e80788) withmain
(f6b698e)Summary
✅ 59
untouched benchmarks