def snapshot.root.value.length.delta
mylsm-lsm-store@0.6.0.1 · src/ByteDurableDb.bend:3056
import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as ByteDurableDb
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
3056def snapshot.root.value.length.delta(
3057 root: SnapshotRoot,
3058 keys: Bytes.Bytes & Bytes.Bytes
3059) -> SnapshotRoot & ByteMemTable.LengthProbe & Bytes.Bytes:
3060 match root:
3061 case SnapshotRoot{sst_path, sst_generation, retained_bytes, delta}:
3062 snapshot.root.value.length.delta.counted(sst_path, sst_generation,
3063 retained_bytes, keys, ByteMemTable.count.keep(delta))