Re: [PATCH 0/5] Suggested for PU: revision caching system to significantly speed up packing/walking
- From
Nicolas Pitre <nico@cam.org>
- Date
- Aug 7, 2009, 04:42 UTC
- Message-ID
- <alpine.LFD.2.00.0908070036450.16073@xanadu.home>
- In-Reply-To
- <c77435a80908061330h2461012at8b877970cab4906b@mail.gmail.com>
On Thu, 6 Aug 2009, Nick Edelen wrote:
> Hrmm, I just realized that it dosn't actually cache paths/names... > This obviously has no bearing on its use in packing, but I should > either add that in or restrict usage in non-packing-related walks. > Weird how things like that escape you.
Actually it is really the packing related walk that would benefit the most from this work. The "counting objects" phase of a clone may take quite a while with some repositories. Most other operations don't care as much because the rev walk is done incrementally whereas the packing operation needs to perform it all up front.
Nicolas