Fix uselessly deep stack trace

This commit is contained in:
Louis Dureuil 2025-01-06 18:07:49 +01:00
parent 34f4602ae8
commit 28cc6df7a3
No known key found for this signature in database

View File

@ -180,13 +180,16 @@ impl FacetsUpdateIncrementalInner {
} }
} }
} }
self.find_touched_parents( if !touched_parents.is_empty() {
wtxn, self.find_touched_parents(
parent_level, wtxn,
touched_parents parent_level,
// no need to `rev` here because the parents were already visited in reverse order touched_parents
.into_iter(), // no need to `rev` here because the parents were already visited in reverse order
) .into_iter(),
)?;
}
Ok(())
} }
fn compute_parent_group( fn compute_parent_group(