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