bors[bot] 8efac33b53
Merge #467
467: optimize prefix database r=Kerollmops a=MarinPostma

This pr introduces two optimizations that greatly improve the speed of computing prefix databases.

- The time that it takes to create the prefix FST has been divided by 5 by inverting the way we iterated over the words FST.
- We unconditionally and needlessly checked for documents to remove in  `word_prefix_pair`, which caused an iteration over the whole database.

Co-authored-by: ad hoc <postma.marin@protonmail.com>
2022-03-15 16:14:35 +00:00
..
2022-02-16 15:41:14 +00:00
2022-01-19 12:40:20 +01:00
2022-01-19 12:40:20 +01:00
2022-02-15 11:41:55 +01:00
2021-09-21 16:58:33 +02:00
2022-03-15 17:12:48 +01:00