Files
orca/src
Neil 537a75c94d perf(source-control): stop reconciling selection on every panel render (#18637)
reconcileSourceControlSelectionState was called straight from the hook body, so
it reran on every Source Control render — every commit-message keystroke and
every status poll — and built a Set over every visible row to prune a selection
that had not moved.

Add an early return for the common empty-selection case and memoize the call on
its three inputs. At 500 changed files the empty case drops from 13.10µs to
0.03µs per call.
2026-09-04 14:33:06 -07:00
..