def bloom_union

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

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

259# Handle Bloom filter data for union for the SSTable indexes, filters, and lookup.
260def bloom_union(ba: Bloom, bb: Bloom) -> Bloom:
261  match ba:
262    case Blm{abits, asize}:
263      match bb:
264        case Blm{bbits, bsize}:
265          bloom_union_trees(abits, bbits, Nat.max(asize, bsize))

Uses (3)

Used by (2)