def bloom_add
import mylsm-lsm-store@0.3.2.0/src/Sstable.bend as Sstableimport Base
159def bloom_add(bloom: Bloom, +key: String) -> Bloom:
160 match bloom:
161 case Blm{bits, +size}:
162 Blm{bit_set(bhash_n(key, 17, size), bit_set(bhash_n(key, 257, size), bits)), size}