mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 13:30:49 -05:00
## Summary A follow up to address [this comment]: > Similarly here, it might be a little more performant to have a single `Type::instance()` branch with an inner match over `class.known()` rather than having multiple branches with `if class.is_known()` guards [this comment]: https://github.com/astral-sh/ruff/pull/16416#discussion_r1985159037