def bhash_n

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

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

139# Handle bhash n in the SSTable indexes, filters, and lookup.
140def bhash_n(str: String, seed: U32, mod: Nat) -> Nat:
141  match mod:
142    case 0n:
143      0n
144    case 1n+p:
145      bhash_n_pos(str, seed, mod)

Uses (4)

Used by (3)