Re: support for large packs and 64-bit offsets

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Shawn O. Pearce <spearce@...>
Cc: Nicolas Pitre <nico@...>, <git@...>
Date: Monday, April 9, 2007 - 4:18 pm

"Shawn O. Pearce" <spearce@spearce.org> writes:


We do an incremental .keep pack for packs 100 objects or more.
If .idx omits SHA-1 values but keeps the crc and offset, that
would be around 12 bytes per object (but you may need an index
into the real SHA-1 table in the .pack file, I dunno) so that
would be 1200 bytes.  If we duplicate SHA-1 table also in .idx
that would make it 32-byte per object, totalling 3200 bytes,
which admittedly is near 3-fold increase, but it may be worth if
we want to avoid the hassle.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
support for large packs and 64-bit offsets, Nicolas Pitre, (Mon Apr 9, 1:06 am)
Re: support for large packs and 64-bit offsets, Shawn O. Pearce, (Mon Apr 9, 1:19 pm)
Re: support for large packs and 64-bit offsets, Linus Torvalds, (Mon Apr 9, 2:02 pm)
Re: support for large packs and 64-bit offsets, Nicolas Pitre, (Mon Apr 9, 2:26 pm)
Re: support for large packs and 64-bit offsets, Nicolas Pitre, (Mon Apr 9, 3:46 pm)
Re: support for large packs and 64-bit offsets, Shawn O. Pearce, (Mon Apr 9, 2:34 pm)
Re: support for large packs and 64-bit offsets, Nicolas Pitre, (Mon Apr 9, 1:32 pm)
Re: support for large packs and 64-bit offsets, Shawn O. Pearce, (Mon Apr 9, 1:43 pm)
Re: support for large packs and 64-bit offsets, Junio C Hamano, (Mon Apr 9, 3:49 pm)
Re: support for large packs and 64-bit offsets, Shawn O. Pearce, (Mon Apr 9, 3:53 pm)
Re: support for large packs and 64-bit offsets, Junio C Hamano, (Mon Apr 9, 4:18 pm)
Re: support for large packs and 64-bit offsets, Nicolas Pitre, (Mon Apr 9, 4:02 pm)
[PATCH 01/10] get rid of num_packed_objects(), Nicolas Pitre, (Mon Apr 9, 1:06 am)
[PATCH 05/10] compute object CRC32 with index-pack, Nicolas Pitre, (Mon Apr 9, 1:06 am)