def bloom_test

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

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

171def bloom_test(bloom: Bloom, +key: String) -> Bool:
172  match bloom:
173    case Blm{+bits, +size}:
174      both(bit_get(bhash_n(key, 17, size), bits), bit_get(bhash_n(key, 257, size), bits))

Uses (6)

Used by (1)