mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 05:51:03 -05:00
## Summary In `SymbolState` merging, use `BitSet::union` instead of inserting declarations one by one. This used to be the case but was changed in https://github.com/astral-sh/ruff/pull/15019 because we had to iterate over declarations anyway. This is an alternative to https://github.com/astral-sh/ruff/pull/15419 by @MichaReiser. It's similar in performance, but a bit more declarative and less imperative.