Re: [PATCH] Keep last used delta base in the delta window
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 27, 2007, 08:48 UTC
- Message-ID
- <7v3ay5l5wq.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <11881617934179-git-send-email-mkoegler@auto.tuwien.ac.at>
Martin Koegler <mkoegler@auto.tuwien.ac.at> writes:
> Keeping the last used delta base object, if it would be dropped, > supports creating smaller packs with shorter delta chains.
Instead of treating the "the last used one happened to be on the horizon -- try not to drop it" special case, I wonder if it makes sense to float the last used delta base object early in the window _after_ it is used. Wouldn't we keep more than one very recently used delta base objects in the window that way?