def new_from_plan
import mylsm-lsm-store@0.6.0.1/src/BitTree.bend as BitTreeimport Base
62# Create from plan for the packed bit-tree operations.
63def new_from_plan(words: Nat, plan: Plan) -> BitTree:
64 match plan:
65 case Plan{capacity, +height}:
66 BT{zero_tree(height), words, capacity, height}