astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[ty] Expand signature compatibility fast-paths
charlie/num-sigs
4 hours ago
[ty] Expand signature compatibility fast-paths
charlie/num-sigs
4 hours ago
[ty] Avoid signature validation for signature-less functions
charlie/plain-sig
5 hours ago
[ty] Avoid bookkeeping for unannotated functions (#24842) ## Summary If a function doesn't contain any annotations or default arguments, we don't need to do deferred inference for the signature; and if the function isn't decorated, we don't need to store a separate `undecorated_type`. This avoids a deferred-definition entry, an empty deferred inference query, and (oftena) an `DefinitionInferenceExtra` allocation.
main
5 hours ago
[ty] Optimize signature checking based on number of arguments (#24674) ## Summary This PR adds a fast path to signature subtyping that checks positional parameter count compatibility (along with a few other cases) before doing expensive per-parameter type comparisons. In short, if the signatures have a different number of positional arguments, they can't match up. Not much movement on CodSpeed, but the `more-itertools` improvement at least seems to be real based on local benchmarking (17x faster or something like that).
main
5 hours ago
[ty] Optimize signature checking based on number of arguments
charlie/num-args
5 hours ago
Codex fixes
charlie/generic-disjoint
6 hours ago
[ty] Optimize signature checking based on number of arguments
charlie/num-args
6 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
[ty] Expand signature compatibility fast-paths
#24844
4 hours ago
0303f73
charlie/num-sigs
CodSpeed Performance Gauge
0%
[ty] Avoid signature validation for signature-less functions
#24843
5 hours ago
cb361bb
charlie/plain-sig
CodSpeed Performance Gauge
0%
[ty] Optimize signature checking based on number of arguments
#24674
10 days ago
5e7fc03
charlie/num-args
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs