File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ main :: IO ()
51
51
main = do microbench " insNode into AVL tree" insNodeAVL
52
52
microbench " insNode into PATRICIA tree" insNodePatricia
53
53
54
+ microbench " buildFull into AVL tree 100" (buildFullAVL 100 )
55
+ microbench " buildFull into AVL tree 500" (buildFullAVL 500 )
56
+ microbench " buildFull into AVL tree 1000" (buildFullAVL 1000 )
57
+
54
58
microbench " buildFull into PATRICIA tree 100" (buildFullPatricia 100 )
55
59
microbench " buildFull into PATRICIA tree 500" (buildFullPatricia 500 )
56
60
microbench " buildFull into PATRICIA tree 1000" (buildFullPatricia 1000 )
@@ -67,6 +71,9 @@ main = do microbench "insNode into AVL tree" insNodeAVL
67
71
microbench " emap on AVL tree" emapAVL
68
72
microbench " emap on PATRICIA tree" emapPatricia
69
73
74
+ buildFullAVL :: Int -> Int -> ()
75
+ buildFullAVL = buildFull (Proxy :: TreeP )
76
+
70
77
insNodeAVL :: Int -> AVL. UGr
71
78
insNodeAVL = insNodes' empty
72
79
You can’t perform that action at this time.
0 commit comments