update README, and consider repository finished (at least for now)

This commit is contained in:
2024-09-11 13:19:41 +01:00
parent db8fa8ae80
commit 0dda4dc974
15 changed files with 154 additions and 8 deletions

View File

@@ -0,0 +1,20 @@
structure BuildGetPrefixStringSet =
struct
fun main () =
let
val endTrie =
Vector.foldl StringSet.insert StringSet.empty WordsList.words
val startTime = Time.now ()
val lst = StringSet.getPrefixList ("a", endTrie)
val finishTime = Time.now ()
val searchDuration = Time.- (finishTime, startTime)
val searchDuration = Time.toNanoseconds searchDuration
val searchDuration = LargeInt.toString searchDuration ^ " ns\n"
in
print searchDuration
end
end
val _ = BuildGetPrefixStringSet.main ()