ruff
[ty] Optimize protocol subtyping by removing expensive and unnecessary equivalence check from the top of `Type::has_relation_to()`
#19230
Merged

[ty] Optimize protocol subtyping by removing expensive and unnecessary equivalence check from the top of `Type::has_relation_to()` #19230

AlexWaygood merged 4 commits into main from alex/remove-equivalent-check
AlexWaygood
AlexWaygood Remove expensive equivalence checks from `Type::has_relation_to()`
34825cdf
AlexWaygood other micro-optimisations
6ae874b1
AlexWaygood add comment
a490c443
AlexWaygood AlexWaygood added performance
AlexWaygood AlexWaygood added ty
AlexWaygood pre-commit
6c9d9fbe
github-actions
codspeed-hq
AlexWaygood AlexWaygood marked this pull request as ready for review 224 days ago
AlexWaygood AlexWaygood requested a review from carljm carljm 224 days ago
AlexWaygood AlexWaygood requested a review from sharkdp sharkdp 224 days ago
AlexWaygood AlexWaygood requested a review from dcreager dcreager 224 days ago
AlexWaygood AlexWaygood changed the title [ty] Remove expensive and unnecessary equivalence check from the top of `Type::has_relation_to()` [ty] Optimize protocol subtyping by removing expensive and unnecessary equivalence check from the top of `Type::has_relation_to()` 224 days ago
sharkdp
sharkdp approved these changes on 2025-07-10
AlexWaygood AlexWaygood merged 59aa8697 into main 223 days ago
AlexWaygood AlexWaygood deleted the alex/remove-equivalent-check branch 223 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone