def snapshot.root.value.length.delta.counted
mylsm-lsm-store@0.6.0.1 · src/ByteDurableDb.bend:3043
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
3043def snapshot.root.value.length.delta.counted(
3044 sst_path: Maybe<&1, String>,
3045 sst_generation: Maybe<&1, U32>,
3046 retained_bytes: Nat,
3047 keys: Bytes.Bytes & Bytes.Bytes,
3048 counted: List<&1, ByteMemTable.Entry> & Nat
3049) -> SnapshotRoot & ByteMemTable.LengthProbe & Bytes.Bytes:
3050 match keys:
3051 case (probe_key, lookup_key):
3052 snapshot.root.value.length.delta.output(sst_path, sst_generation,
3053 retained_bytes, lookup_key,
3054 ByteMemTable.lookup.length.start.counted(probe_key, counted))