sapling/eden/scm/lib/dag
Jun Wu 3119869537 dag: de-duplicate logic about merging flat segments
Summary:
Move the logic to a common method. A side effect is that
IndexedlogIdDag needs to calculate `last_span.high` again, and
InProcessIdDag needs to calculate `last_store_id` again. But it's
probably okay since the merge is rare and the InProcessIdDag operations should
be considered fast even if it's called frequently.

Reviewed By: sfilipco

Differential Revision: D26504915

fbshipit-source-id: e215ffe9fef7948b7b662dba3ed990e374be989a
2021-02-19 10:30:01 -08:00
..
benches dag: move algorithms from IdDag<Store> to Store 2021-02-10 12:28:31 -08:00
bindag dag: make spanset module private 2021-02-05 11:53:45 -08:00
dag-types dag-types: add Location 2021-02-09 11:31:30 -08:00
fuzz dag: use non-master group in fuzz test 2020-08-26 15:32:24 -07:00
gitdag dag: make parent function async 2020-12-10 12:37:36 -08:00
src dag: de-duplicate logic about merging flat segments 2021-02-19 10:30:01 -08:00
Cargo.toml dag: rename dag-wire-types to dag-types 2021-02-09 11:31:29 -08:00