Re: [PATCH 0/8] fetch.c optimizations
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Sep 21, 2005, 21:03 UTC
- Message-ID
- <Pine.LNX.4.63.0509211700161.23242@iabervon.org>
- In-Reply-To
- <20050921161829.GA20944@master.mivlgu.local>
On Wed, 21 Sep 2005, Sergey Vlasov wrote:
Show 8 quoted lines
> Hello! > > I have noticed that git-*-fetch now uses much more CPU than it was > before the modifications to fix recovery after interrupted fetch. > Here is a series of small patches which fix the problems which I have > found (some of the fixes give pretty impressive results, like a 14x > decrease of CPU time); as a positive side effect, fetch.c becomes > slightly smaller and hopefully simpler than before.
These all look like good changes. It would also be worth doing some optimization in the library, like making parse_object just return the object if we already have it.
-Daniel *This .sig left intentionally blank*