def bloom_set_all

mylsm-lsm-store@0.3.2.0 · src/Sstable.bend:331

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

331# Sequential assembly of one filter from a flat index list.
332def bloom_set_all(+idxs: List<&2, Nat>, +blm: Bloom) -> Bloom:
333  match idxs:
334    case Nil{}:
335      blm
336    case Con{+i, t}:
337      match blm:
338        case Blm{bits, +size}:
339          bloom_set_all(t, Blm{bit_set(i, bits), size})

Uses (4)

Used by (1)