Avoid unnecessarily adding internal summaries in Cursor::next

This commit is contained in:
Max Brunsfeld 2021-06-02 14:43:17 -07:00
parent d83a046911
commit 657b0affd5

View file

@ -229,9 +229,8 @@ where
.. ..
} => { } => {
if !descend { if !descend {
let summary = &child_summaries[entry.index]; entry.seek_dimension = self.seek_dimension.clone();
entry.seek_dimension.add_summary(summary, cx); entry.sum_dimension = self.sum_dimension.clone();
entry.sum_dimension.add_summary(summary, cx);
entry.index += 1; entry.index += 1;
} }