def bloom_union_trees
mylsm-lsm-store@0.6.0.1 · src/Sstable.bend:251
import mylsm-lsm-store@0.6.0.1/src/Sstable.bend as Sstable
import Base
import mylsm-lsm-store@0.6.0.1/src/BitTree.bend as BitTree
251
252def bloom_union_trees(+abits: BitTree.BitTree, +bbits: BitTree.BitTree, size: Nat) -> Bloom:
253 match abits:
254 case BitTree.BT{aroot, awords, acap, aheight}:
255 match bbits:
256 case BitTree.BT{broot, bwords, bcap, bheight}:
257 Blm{BitTree.BT{BitTree.union_bits(aroot, broot), awords, acap, aheight}, size}