mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Simplify the check to decide to stop a loop
This commit is contained in:
parent
febea735ca
commit
1693d1a311
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ pub fn compute_docids(
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
} else if let Some(left_word_docids) = ctx.word_docids(Some(universe), left_word)? {
|
} else if let Some(left_word_docids) = ctx.word_docids(Some(universe), left_word)? {
|
||||||
if universe.is_disjoint(&left_word_docids) {
|
if left_word_docids.is_empty() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue