def block_get
import mylsm-lsm-store@0.6.0.1/src/Sstable.bend as Sstableimport Base
528# Handle the block get for the SSTable indexes, filters, and lookup.
529def block_get(tab: Table, +key: String) -> Maybe<&2, String>:
530 match tab:
531 case Tbl{entries, filter, nbits, smallest, largest, count, chunks, blocks}:
532 block_finish(block_pick(chunks, blocks, key), entries, key)