def new

bend-collections@1.0.0.0 · src/containers/balanced_search_tree.bend:776

import bend-collections@1.0.0.0/src/containers/balanced_search_tree.bend as BalancedSearchTree
import Base
import bend-collections@1.0.0.0/src/containers/dynamic_array.bend as D

776# O(used): resets the live slots top down and keeps the capacity.
777def new(~K: Data, ~V: Data, ~cmp: K -> K -> Cmp) -> TreeMap<K, V, cmp>:
778  TM{0n, 0n, 0n, 0n, 0n, ns_new(~K), D.new_at(~Maybe<&2, V>)}

Uses (5)

Used by (0)

No other definition uses this definition.