astral-sh
ruff
BlogDocsChangelog

[ty] Infer nonlocal types as unions of all reachable bindings

#18750Merged
Comparing
david/public-types
(
4226670
) with
main
(
2362263
)
CodSpeed Performance Gauge
-1%
Untouched
6
Archived
2

Benchmarks

Passed

large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
53.1 s53.3 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-1%
34.1 s34.5 s
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-1%
8.8 s8.9 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-1%
2 s2 s
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-1%
3 s3.1 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-2%
4.6 s4.7 s

Commits

Click on a commit to change the comparison range
Base
main
2362263
-1.15%
Filter out overloads from bindings as well
4226670
5 months ago
by sharkdp
© 2025 CodSpeed Technology
Home Terms Privacy Docs