Fix performance regression in multibuffer diff syncing (cherry-pick #26137) (#26139)
gcp-cherry-pick-bot[bot]
,
Cole Miller
, and
Conrad
created
Cherry-picked Fix performance regression in multibuffer diff syncing
(#26137)
This fixes a performance problem introduced in #25906 and caused by
calling `BufferDiff::snapshot` too frequently.
Release Notes:
- Fixed a performance regression related to buffer diffs
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Cole Miller <cole@zed.dev>
Co-authored-by: Conrad <conrad@zed.dev>