mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-06-30 08:12:55 +02:00
![]() This database can easily contain millions of entries. Thus, iterating over it can be very expensive. For regular `documentAdditionOrUpdate` tasks, `del_prefix_fst_words` will always be empty. Thus, we can save a significant amount of time by adding this `if !del_prefix_fst_words.is_empty()` condition. The code's behaviour remains completely unchanged. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |