Message ID | 20181112144627.GA2478@sigill.intra.peff.net (mailing list archive) |
---|---|
Headers | show |
Series | caching loose objects | expand |
On 11/12/2018 9:46 AM, Jeff King wrote: > Here's the series I mentioned earlier in the thread to cache loose > objects when answering has_object_file(..., OBJECT_INFO_QUICK). For > those just joining us, this makes operations that look up a lot of > missing objects (like "index-pack" looking for collisions) faster. This > is mostly targeted at systems where stat() is slow, like over NFS, but > it seems to give a 2% speedup indexing a full git.git packfile into an > empty repository (i.e., what you'd see on a clone). > > I'm adding René Scharfe and Takuto Ikuta to the cc for their previous > work in loose-object caching. > > The interesting bit is patch 8. The rest of it is cleanup to let us > treat alternates and the main object directory similarly. This cleanup is actually really valuable, and affects much more than this application. I really think it is a good idea, and hope it doesn't cause too much trouble as the topic is cooking. Thanks, -Stolee
On Mon, Nov 12, 2018 at 8:02 AM Derrick Stolee <stolee@gmail.com> wrote: > This cleanup is actually really valuable, and affects much more than > this application. I second this. I'd value this series more for the cleanup than its application. ;-)