Alex Waygood
b6c7ba4f8e
[red-knot] Reduce Salsa lookups in Type::find_name_in_mro ( #16582 )
...
## Summary
Theoretically this should be slightly more performant, since the
`class.is_known()` calls each do a separate Salsa lookup, which we can
avoid if we do a single `match` on the value of `class.known()`. It also
ends up being two lines less code overall!
## Test Plan
`cargo test -p red_knot_python_semantic`
2025-03-10 07:55:22 +01:00
..
2025-03-05 08:23:02 -05:00
2025-03-08 02:36:35 +00:00
2025-03-10 07:55:22 +01:00
2025-03-05 08:23:02 -05:00
2025-03-07 09:04:52 +01:00
2025-03-01 08:21:03 +01:00
2025-03-06 10:41:40 +01:00
2025-03-07 09:00:08 -06:00
2025-03-03 13:10:46 +05:30
2025-03-06 10:41:40 +01:00
2024-07-03 07:36:46 -05:00
2025-03-06 10:41:40 +01:00
2025-02-19 10:50:50 -05:00
2025-01-03 08:50:13 -06:00
2025-02-26 06:12:43 -08:00
2025-02-19 10:50:50 -05:00
2025-02-28 14:55:55 -05:00
2025-03-07 14:49:08 -05:00
2025-02-07 10:59:40 +01:00
2025-02-26 06:12:43 -08:00
2025-03-08 03:58:52 +00:00
2025-02-19 10:50:50 -05:00
2025-02-19 10:50:50 -05:00
2025-03-07 09:12:00 +01:00
2024-10-28 07:53:41 +00:00
2025-02-04 08:41:06 -05:00
2025-03-07 09:12:00 +01:00
2025-02-26 06:12:43 -08:00
2025-02-26 06:12:43 -08:00
2025-01-04 12:23:53 +01:00
2025-02-27 13:25:31 +00:00
2025-02-19 10:50:50 -05:00
2025-03-03 09:29:58 -05:00
2024-12-11 10:30:41 +00:00
2025-01-16 15:18:12 +01:00
2025-03-07 09:00:08 -06:00
2025-03-03 09:29:58 -05:00