diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/data/collection/dictionary.lux | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/stdlib/source/lux/data/collection/dictionary.lux b/stdlib/source/lux/data/collection/dictionary.lux index 3d4e84207..f48554f55 100644 --- a/stdlib/source/lux/data/collection/dictionary.lux +++ b/stdlib/source/lux/data/collection/dictionary.lux @@ -146,11 +146,6 @@ (array.copy idx 0 array 0) (array.copy (n/- idx new-size) (inc idx) array idx)))) -## Given a top-limit for indices, produces all indices in [0, R). -(def: indices-for - (-> Nat (List Index)) - (|>> dec (list.n/range 0))) - ## Increases the level-shift by the branching-exponent, to explore ## levels further down the tree. (def: level-up @@ -240,7 +235,7 @@ ## When #Base nodes grow too large, they're promoted to #Hierarchy to ## add some depth to the tree and help keep it's balance. -(def: hierarchy-indices (List Index) (indices-for hierarchy-nodes-size)) +(def: hierarchy-indices (List Index) (list.indices hierarchy-nodes-size)) (def: (promote-base put' Hash<k> level bitmap base) (All [k v] |