astral-sh
ruff
BlogDocsChangelog

[ty] Treat `Hashable`, and similar protocols, equivalently to `object` for subtyping/assignability

#20284Merged
Comparing
alex/hashable
(
c518a97
) with
main
(
9cb37db
)
CodSpeed Performance Gauge
0%
Untouched
7
Archived
2

Benchmarks

Passed

small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
4 s4 s
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
6.9 s6.8 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
26 s26 s
medium[static-frame]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
7.9 s7.9 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
1.7 s1.7 s
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
41 s41.1 s
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
2.5 s2.5 s

Commits

Click on a commit to change the comparison range
Base
main
9cb37db
+0.01%
fix default and add tests for recursive protocols that are supertypes of `object`
c518a97
3 months ago
by AlexWaygood
© 2025 CodSpeed Technology
Home Terms Privacy Docs