def bloom_of

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

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

241# --- Canonicalization and construction ---
242def bloom_of(entries: List<&2, MemTable.Entry>, +blm: Bloom) -> Bloom:
243  match entries:
244    case Nil{}:
245      blm
246    case Con{e, t}:
247      match e:
248        case MemTable.Entry{key, val}:
249          bloom_of(t, bloom_add(blm, key))

Uses (4)

Used by (2)