Project panel faster (#35634)
- **Use a struct instead of a thruple for visible worktree entries** - **Try some telemetry** Closes #ISSUE Release Notes: - N/A --------- Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
This commit is contained in:
parent
0097d89672
commit
bc32b5a976
4 changed files with 122 additions and 78 deletions
|
@ -110,11 +110,7 @@ impl<'a> GitTraversal<'a> {
|
|||
}
|
||||
|
||||
pub fn advance(&mut self) -> bool {
|
||||
self.advance_by(1)
|
||||
}
|
||||
|
||||
pub fn advance_by(&mut self, count: usize) -> bool {
|
||||
let found = self.traversal.advance_by(count);
|
||||
let found = self.traversal.advance_by(1);
|
||||
self.synchronize_statuses(false);
|
||||
found
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue