def lookup.start.counted

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

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

299# Starts a lookup with a bound computed from the list length.
300def lookup.start.counted(
301  query: Bytes.Bytes,
302  entries: List<&1, Entry>,
303  count: Nat
304) -> Table & Maybe<&1, Bytes.Bytes>:
305  lookup.start.table(lookup.start.counted.lookup(query, entries, count))

Uses (9)

Used by (1)