Tune the words prefixes threshold to compute for 1/1000 instead

This commit is contained in:
Kerollmops 2021-03-03 11:25:36 +01:00
parent f376c6a728
commit 07784c8990
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
3 changed files with 3 additions and 2 deletions

View file

@ -41,7 +41,7 @@ impl<'t, 'u, 'i> WordsPrefixes<'t, 'u, 'i> {
chunk_fusing_shrink_size: None,
max_nb_chunks: None,
max_memory: None,
threshold: 0.01, // 1%
threshold: 0.1 / 100.0, // .01%
max_prefix_length: 4,
_update_id: update_id,
}