Use OnceCell to cache levenshtein builders

This commit is contained in:
Kerollmops
2020-05-31 18:21:24 +02:00
parent dde3e01a59
commit dff68a339a
4 changed files with 18 additions and 14 deletions

View File

@ -17,6 +17,7 @@ heed = { version = "0.8.0", default-features = false, features = ["lmdb"] }
jemallocator = "0.3.2"
levenshtein_automata = { version = "0.2.0", features = ["fst_automaton"] }
memmap = "0.7.0"
once_cell = "1.4.0"
oxidized-mtbl = { git = "https://github.com/Kerollmops/oxidized-mtbl.git", rev = "8918476" }
rayon = "1.3.0"
roaring = "0.5.2"