def word_at

mylsm-lsm-store@0.6.0.1 · src/BitTree.bend:153

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

153# Safe logical-word lookup; padding leaves are not externally addressable.
154def word_at(+tree: BitTree, +index: Nat) -> U32:
155  word_at_if(Nat.is_lt(index, word_count(tree)), tree, index)

Uses (6)

Used by (2)