From: Patrick Steinhardt Date: Thu, 06 Mar 2025 15:13:55 GMT Subject: Re: [PATCH v4 05/16] refs/reftable: batch refname availability checks Message-ID: In-Reply-To: On Thu, Mar 06, 2025 at 09:12:41AM -0500, Karthik Nayak wrote: > Karthik Nayak writes: > > > Patrick Steinhardt writes: > > > >> Refactor the "reftable" backend to batch the availability check for > >> refnames. This does not yet have an effect on performance as we > >> essentially still call `refs_verify_refname_available()` in a loop, but > >> this will change in subsequent commits. > >> > > > > I thought this patch removes it from the loop. Which loop are you > > talking about? > > > > Looking at future patches, maybe this 'loop' is a reference to how > 'refs_verify_refnames_available()' still loops over all references, > which we start optimizing in patch 08 and onward? Yes, exactly. I'll clarify. Patrick