Re: [PATCH 23/23] initial pack index v3 support on the read side

2013-09-03 Thread Duy Nguyen
On Tue, Sep 3, 2013 at 1:09 PM, Nicolas Pitre wrote: > On Sat, 31 Aug 2013, Duy Nguyen wrote: > >> On Tue, Aug 27, 2013 at 11:26 AM, Nicolas Pitre wrote: >> > A bit crud but good enough for now. >> >> I wonder if we should keep a short SHA-1 table in .idx. An entry in >> the original .idx v1 tabl

Re: [PATCH 23/23] initial pack index v3 support on the read side

2013-09-02 Thread Nicolas Pitre
On Sat, 31 Aug 2013, Duy Nguyen wrote: > On Tue, Aug 27, 2013 at 11:26 AM, Nicolas Pitre wrote: > > A bit crud but good enough for now. > > I wonder if we should keep a short SHA-1 table in .idx. An entry in > the original .idx v1 table is + then offset moved out > to make the table more compact

Re: [PATCH 23/23] initial pack index v3 support on the read side

2013-08-31 Thread Duy Nguyen
On Tue, Aug 27, 2013 at 11:26 AM, Nicolas Pitre wrote: > A bit crud but good enough for now. I wonder if we should keep a short SHA-1 table in .idx. An entry in the original .idx v1 table is + then offset moved out to make the table more compact for binary search. I observe that we don't always n

[PATCH 23/23] initial pack index v3 support on the read side

2013-08-26 Thread Nicolas Pitre
A bit crud but good enough for now. Signed-off-by: Nicolas Pitre --- cache.h | 1 + sha1_file.c | 58 +++--- 2 files changed, 52 insertions(+), 7 deletions(-) diff --git a/cache.h b/cache.h index b6634c4..63066a1 100644 --- a/cache.h +++