add insert benchmark comparing StringSet to BroTree (StringSet is just a few ms faster for this)
This commit is contained in:
11
bench/insert-bro-tree.sml
Normal file
11
bench/insert-bro-tree.sml
Normal file
@@ -0,0 +1,11 @@
|
||||
structure InsertBroTree =
|
||||
struct
|
||||
fun main () =
|
||||
let
|
||||
val endTree = Vector.foldl BroTree.insert BroTree.empty WordsList.words
|
||||
in
|
||||
()
|
||||
end
|
||||
end
|
||||
|
||||
val _ = InsertBroTree.main ()
|
||||
Reference in New Issue
Block a user