mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
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 {
|
||||
let summary = &child_summaries[entry.index];
|
||||
entry.seek_dimension.add_summary(summary, cx);
|
||||
entry.sum_dimension.add_summary(summary, cx);
|
||||
entry.seek_dimension = self.seek_dimension.clone();
|
||||
entry.sum_dimension = self.sum_dimension.clone();
|
||||
entry.index += 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue