[ty] Optimize protocol subtyping by removing expensive and unnecessary equivalence check from the top of `Type::has_relation_to()` #19230
Remove expensive equivalence checks from `Type::has_relation_to()`
34825cdf
other micro-optimisations
6ae874b1
add comment
a490c443
pre-commit
6c9d9fbe
AlexWaygood
marked this pull request as ready for review 224 days ago
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
approved these changes
on 2025-07-10
AlexWaygood
deleted the alex/remove-equivalent-check branch 223 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub