def next.pair.bounds

mylsm-lsm-store@0.6.0.1 · src/scan/RangeCursor.bend:277

import mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend as RangeCursor
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

277def next.pair.bounds(
278  key: Bytes.Bytes,
279  check_key: Bytes.Bytes,
280  value: Maybe<&1, Bytes.Bytes>,
281  tail: List<&1, ByteMemTable.Entry>,
282  bounds: Bounds & Bounds
283) -> Step:
284  match bounds:
285    case (checked, retained):
286      next.pair.bounds.copied(key, check_key, value, tail,
287        bounds.clone(checked), retained)

Uses (10)

Used by (1)