def new_from_plan

mylsm-lsm-store@0.3.2.0 · src/BitTree.bend:58

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

58def new_from_plan(words: Nat, plan: Plan) -> BitTree:
59  match plan:
60    case Plan{capacity, +height}:
61      BT{zero_tree(height), words, capacity, height}

Uses (4)

Used by (1)