def block_get_hit

mylsm-lsm-store@0.6.0.1 · src/Sstable.bend:522

import mylsm-lsm-store@0.6.0.1/src/Sstable.bend as Sstable
import Base

522# Handle the block get hit for the SSTable indexes, filters, and lookup.
523def block_get_hit(tab: Table, +key: String) -> Maybe<&2, Maybe<&2, String>>:
524  match tab:
525    case Tbl{entries, filter, nbits, smallest, largest, count, chunks, blocks}:
526      hit_finish(block_pick(chunks, blocks, key), entries, key)

Uses (5)

Used by (0)

No other definition uses this definition.