mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 14:00:51 -05:00
This updates the `SymbolBindings` and `SymbolDeclarations` types to use a single smallvec of live bindings/declarations, instead of splitting that out into separate containers for each field. I'm seeing an 11-13% `cargo bench` performance improvement with this locally (for both cold and incremental). I'm interested to see if Codspeed agrees! --------- Co-authored-by: Carl Meyer <carl@astral.sh>