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:
Conrad Irwin
2025-08-08 14:32:58 +02:00
committed by GitHub
co-authored by Piotr Osiewicz
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
}