Re: [PATCH 1/1] ls-refs.c: minimize number of refs visited
- From
Jacob Vosmaer <jacob@gitlab.com>
- Date
- Jan 20, 2021, 10:44 UTC
- Message-ID
- <CADMWQoMHUwJcR5T8H048BgsLCd8-_yg8d8Dj-ojYV31pUmhw4w@mail.gmail.com>
- In-Reply-To
- <CADMWQoOzD0xF4PSAUo2qXp62-tTJX4DhquFZxFjfdQmy+7j+6g@mail.gmail.com>
On Wed, Jan 20, 2021 at 11:40 AM Jacob Vosmaer <jacob@gitlab.com> wrote:
Show 5 quoted lines
> I also think we could. But as I alluded to in my original commit > message, I don't like how complicated that gets. I find it easier to > convince myself in the current form that the longest prefix code > selects _enough_ prefixes, which is a weaker property than "selects > exactly the right prefixes".
By which I mean to say I think we should keep the current form, with the final authoritative ref matching pass.
Jacob