Avoid unnecessarily adding internal summaries in Cursor::next
This commit is contained in:
parent
d83a046911
commit
657b0affd5
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue