mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 05:20:49 -05:00
## Summary Until we optimize our full union/intersection representation to efficiently handle large numbers of same-kind literal types "as a block", set a fairly low limit on the size of unions of literals. We will want to increase this limit once we've made the broader efficiency improvement (tracked in https://github.com/astral-sh/ruff/issues/17420). ## Test Plan `cargo bench --bench red_knot`