From: Linus Torvalds Date: Thu, 16 Feb 2006 03:55:32 GMT Subject: Re: [PATCH] pack-objects: reuse data from existing pack. Message-ID: In-Reply-To: <7vbqx8m62q.fsf@assigned-by-dhcp.cox.net> On Wed, 15 Feb 2006, Junio C Hamano wrote: > > When generating a new pack, notice if we have already the wanted > object in existing packs. If the object has a delitified > representation, and its base object is also what we are going to > pack, then reuse the existing deltified representation > unconditionally, bypassing all the expensive find_deltas() and > try_deltas() routines. I bow down before you. No ugly special-case caching, just automatically "the right thing", with very little overhead. It just makes sense. We have a winner. Linus