Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
amend! path-walk: improve path-walk speed with many tags (#5205)
Browse files Browse the repository at this point in the history
path-walk: improve path-walk speed with many tags (#5205)

In the presence of many tags, the use of oid_array_lookup() can become
extremely slow. We should rely upon the SEEN bit instead.

This affects the tag-peeling walk as well as the switch statement for
adding the peeled object to the correct oid_array.

----

Derrick Stolee <stolee@gmail.com> found this while testing the
2.47.0.vfs.0.0 pre-release against a repo with many annotated tags.

This is a backport of microsoft#695.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
derrickstolee committed Jan 6, 2025
1 parent 58d6792 commit 9b65f4b
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 9b65f4b

Please sign in to comment.