ZIm/crates/project_panel
Max Brunsfeld c6c8ea8660 Remove expensive-to-clone fields from worktree's LocalSnapshot (#2497)
This fixes performance problems that @nathansobo and I have seen in some
cases, when a large number of files changed on disk. A lot of time was
being spent in `worktree::LocalSnapshot::clone`. I think this may have
been because of needing to clone the `removed_entry_ids` map. This
structure is only really used when *mutating* the `LocalSnapshot` in the
background scanner, so I moved it off of the snapshots.
2023-05-22 10:27:40 -07:00
..
src Remove expensive-to-clone fields from worktree's LocalSnapshot (#2497) 2023-05-22 10:27:40 -07:00
Cargo.toml 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00