def lookup.start.counted.pair

mylsm-lsm-store@0.6.0.1 · src/ByteMemTable.bend:314

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

314# Unpacks the preserved list and count before scanning.
315def lookup.start.counted.pair(query: Bytes.Bytes, counted: List<&1, Entry> & Nat) -> Table & Maybe<&1, Bytes.Bytes>:
316  match counted:
317    case (entries, count):
318      lookup.start.counted(query, entries, count)

Uses (9)

Used by (1)