-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Migrate to pyo3 v0.21 Bound API #23
Conversation
CodSpeed Performance ReportMerging #23 will improve performances by 54.73%Comparing Summary
Benchmarks breakdown
|
@LilyFoote thank you! now it much much better! still have 1 regress but ig because of new allocs in |
Co-authored-by: David Hewitt <mail@davidhewitt.dev>
I found this in PyO3/pyo3#3684
So should I update py.None() somehow? |
No need; early in 0.21 development I changed those APIs to return GIL Refs e.g. |
This reverts commit 95c8196.
they allowed to manage memory from binding side instead of pyo3 internals (gif refs pool). i expect perf boost here