Re: [PATCH] sha1_file: avoid re-preparing duplicate packs
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Jun 2, 2006, 17:47 UTC
- Message-ID
- <Pine.LNX.4.64.0606021045580.5498@g5.osdl.org>
- In-Reply-To
- <20060602164932.GA10216@coredump.intra.peff.net>
On Fri, 2 Jun 2006, Jeff King wrote:
> > This patch avoids duplicates in the packed_git list. It's not necessary > under Linux, at least, but it just seems cleaner, and it's simple to do.
I think it's a good idea even under Linux, since on 32-bit machines, one of the constraints we have may simply be virtual memory space to map things into. With big packs, avoiding mapping them twice is a good idea.
Linus