Avatar for the PyO3 user
PyO3
pyo3
BlogDocsChangelog

Specialize self conversion for descriptor slots

#5930
Comparing
MatthieuDartiailh:descriptor
(
732cf48
) with
main
(
cd87dcf
)
CodSpeed Performance Gauge
0%
Untouched
105
Ignored
21
Skipped
1

Benchmarks

1 total
first_time_init
pyo3-benches/benches/bench_pyclass.rs::benches::criterion_benchmark
Skipped
40.5 µs*

Commits

Click on a commit to change the comparison range
Base
main
cd87dcf
-0.19%
speicialize self conversion for descriptor slots for which CPython does ensure a bad type cannot be passed from Python
3b39386
17 days ago
by MatthieuDartiailh
+0.14%
Implement trusted self conversion for all extension-type method and slot wrappers
732cf48
10 days ago
by Copilot
© 2026 CodSpeed Technology
Home Terms Privacy Docs