def bloom_set_all

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

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

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

Uses (4)

Used by (1)