Re: [RFC] Add --create-cache to repack
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Jan 30, 2011, 20:20 UTC
- Message-ID
- <AANLkTi=4svGhw+L0StH=PKdVWZtbSTSKe+a8dqSmkSE0@mail.gmail.com>
- In-Reply-To
- <7vaaiib1n1.fsf@alter.siamese.dyndns.org>
On Sun, Jan 30, 2011 at 12:02, Junio C Hamano <gitster@pobox.com> wrote:
Show 11 quoted lines
> Shawn Pearce <spearce@spearce.org> writes: > >>> The amount of transfer being that small was something I didn't quite >>> expect, though. Doesn't it indicate that our pathname based object >>> clustering heuristics is not as effective as we hoped? >> >> I'm not sure I follow your question. > > I didn't see path information in your cachefile that contains C commits, T > trees, etc. that sped up the object enumeration, but you didn't observe > much transfer inflation over the stock git.
I didn't store the path itself, I stored the path hash as a 4 byte int. Its smaller, but still helps to schedule the object into the right position in the delta search.
-- Shawn.