… instead of linear scan, when looking for a single entry based on its path.
Manifest entries are sorted by path, but are variable-size so we can’t use
the standard library’s [T]::binary_search. We can still jump to a byte
index and then look around for entry boundaries.
Details
Details
- Reviewers
Alphare - Group Reviewers
hg-reviewers - Commits
- rHGe293ff808a05: rhg: Use binary search in manifest lookup
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage