Sstable.bit_words: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/Sstable.bend as Sstable Lines 147-154 of mylsm-lsm-store@0.6.0.1/src/Sstable.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/Sstable.bend&start_line=147&end_line=154 import Base # BitTree stores whole U32 words while Bloom.size preserves the exact logical # bit count selected by bloom_bits. def bit_words(num: Nat) -> Nat: match num: case 0n: 0n case 1n+m: Nat.add(1n, Nat.div(m, 32n)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.div