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

1
Cargo.lock generated
View File

@ -793,6 +793,7 @@ dependencies = [
"jemallocator",
"levenshtein_automata",
"memmap",
"once_cell",
"oxidized-mtbl",
"rayon",
"roaring",