sapling/eden/scm/lib/dag/Cargo.toml
Jun Wu 762603455a nameset: new metaset for separate iter+contains lazy/fast paths
Summary:
For sets like `obsolete()`, `merge()`, they could have a fast "contains" path:
Just check the given commit without calculating a full set. It's also possible
to have a relatively efficient code path to return StaticSet (for obsolete()),
or IdStaticSet (for merge(), by checking flat segments). This diff adds a
`MetaSet` that allows defining two fast paths separately.

This will be used for the `obsolete()` set in upcoming changes.

Reviewed By: sfilipco

Differential Revision: D23036059

fbshipit-source-id: 06e6f90e7e9511626a12cfa729c306ff539256d2
2020-08-21 13:00:45 -07:00

42 lines
738 B
TOML

[package]
name = "dag"
version = "0.1.0"
edition = "2018"
[dependencies]
drawdag = { path = "../drawdag" }
indexedlog = { path = "../indexedlog" }
minibytes = { path = "../minibytes" }
vlqencoding = { path = "../vlqencoding" }
anyhow = "1.0.20"
bitflags = "1"
byteorder = "1.2.7"
fs2 = "0.4.3"
indexmap = "1.0.1"
itertools = "0.8"
once_cell = "1"
parking_lot = "0.10"
serde = { version = "1", features = ["derive"] }
tempfile = "3.0.7"
thiserror = "1"
[dev-dependencies]
bindag = { path = "bindag" }
minibench = { path = "../minibench" }
once_cell = "1"
quickcheck = "0.9"
unicode-width = "0.1.7"
[[bench]]
name = "spanset"
harness = false
[[bench]]
name = "segment_sizes"
harness = false
[[bench]]
name = "dag_ops"
harness = false