Re: [PATCH 2/4] odb: eagerly initialize alternates
Patrick Steinhardt <[email protected]>
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 11, 2026 at 05:15:33PM -0500, Justin Tobler wrote: > On 26/08/10 03:33PM, Patrick Steinhardt wrote: > > When creating the object database we initialize the main object database > > source, but we don't yet initialize its alternates. Instead, we have > > many calls to `odb_prepare_alternates()` cluttered around the code base > > whenever we are about to iterate through the sources. > > > > This lazy loading doesn't really add much value: the moment where read > > Should this say "where we read" instead? Yes, indeed. Patrick