Re: [PATCH 1/6] fetch: speed up lookup of want refs via commit-graph
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 20, 2021, 17:18 UTC
- Message-ID
- <xmqq7dggvxup.fsf@gitster.g>
- In-Reply-To
- <fce98460-eed6-c874-8c42-bf3a6f5f93a8@gmail.com>
Derrick Stolee <stolee@gmail.com> writes:
Show 5 quoted lines
> I do worry about the case where annotated tags greatly outnumber > branches, so this binary search is extra overhead and the performance > may degrade. Would it be worth checking the ref to see if it lies > within "refs/heads/" (or even _not_ in "refs/tags/") before doing > this commit-graph check?
Ah, clever.