Max Brunsfeld
d7d29472c2
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-19 16:20:19 -07:00
..
2023-05-17 14:44:59 -07:00
2023-04-24 17:41:55 -07:00
2023-05-17 15:06:11 -07:00
2023-05-17 14:44:59 -07:00
2023-04-24 17:41:55 -07:00
2023-05-16 21:07:48 +03:00
2023-05-17 15:06:11 -07:00
2023-04-24 17:41:55 -07:00
2023-05-18 14:58:57 -07:00
2023-05-17 15:05:20 -07:00
2023-03-28 20:13:17 -07:00
2023-05-17 14:44:59 -07:00
2023-05-17 14:44:59 -07:00
2023-05-17 15:05:20 -07:00
2023-05-19 09:36:46 -07:00
2023-04-24 17:41:55 -07:00
2023-05-17 15:56:32 -07:00
2023-05-08 11:42:00 -04:00
2023-05-19 09:36:46 -07:00
2023-05-17 14:44:59 -07:00
2023-05-19 12:37:36 +03:00
2023-05-16 13:00:39 -04:00
2023-04-24 17:41:55 -07:00
2023-02-27 12:06:10 -08:00
2023-04-24 17:41:55 -07:00
2023-05-17 14:44:59 -07:00
2023-05-19 18:52:30 +03:00
2023-05-02 19:38:48 +02:00
2023-04-24 17:41:55 -07:00
2023-05-17 15:06:11 -07:00
2023-05-19 09:36:46 -07:00
2023-05-17 14:44:59 -07:00
2023-04-24 17:41:55 -07:00
2023-04-24 17:41:55 -07:00
2023-04-24 17:41:55 -07:00
2023-05-17 14:44:59 -07:00
2023-04-24 17:41:55 -07:00
2023-04-27 14:29:11 +02:00
2023-04-28 16:42:36 -04:00
2023-05-17 14:44:59 -07:00
2023-05-17 14:44:59 -07:00
2023-04-24 17:41:55 -07:00
2023-04-24 17:41:55 -07:00
2023-04-24 17:41:55 -07:00
2023-05-19 15:16:04 -07:00
2023-05-19 15:04:37 -07:00
2023-05-17 14:44:59 -07:00
2023-05-17 14:44:59 -07:00
2023-04-24 17:41:55 -07:00
2023-05-15 16:22:00 -07:00
2023-05-19 09:13:34 -07:00
2023-05-19 09:36:46 -07:00
2023-04-24 17:41:55 -07:00
2023-04-24 17:41:55 -07:00
2023-04-24 17:41:55 -07:00
2023-04-24 17:41:55 -07:00
2023-05-12 08:37:32 -07:00
2023-05-17 15:56:32 -07:00
2023-05-17 15:56:32 -07:00
2023-05-04 12:32:31 -04:00
2023-05-18 09:01:38 -07:00
2023-05-17 14:44:59 -07:00
2023-05-17 15:56:32 -07:00
2023-05-17 09:55:24 -07:00
2023-05-17 15:06:11 -07:00
2023-05-17 15:06:11 -07:00
2023-05-19 15:10:44 -07:00
2023-05-17 16:53:48 -07:00