def measure.lookup.header

mylsm-lsm-store@0.6.0.1 · src/ByteWal.bend:785

import mylsm-lsm-store@0.6.0.1/src/ByteWal.bend as ByteWal
import Base
import mylsm-lsm-store@0.6.0.1/src/Wal.bend as Wal
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

785def measure.lookup.header(header: FrameHeader, query: Bytes.Bytes)
786  -> Result<&1, &1, Wal.Error, ValueMetadata>:
787  match header:
788    case FrameHeader{frame, +frame_length, +count, +total}:
789      measure.lookup.bounded(frame, query, 0, frame_length, count, total)

Uses (6)

Used by (1)