def probe.length
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTableimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
430def probe.length(table: Table, query: Bytes.Bytes) -> Table & LengthProbe:
431 match table:
432 case Table{entries}:
433 lookup.length.start.counted(query, count.keep(entries))