Code

use delta index data when finding best delta matches
authorNicolas Pitre <nico@cam.org>
Thu, 27 Apr 2006 03:58:00 +0000 (23:58 -0400)
committerJunio C Hamano <junkio@cox.net>
Thu, 27 Apr 2006 04:23:03 +0000 (21:23 -0700)
commitf6c7081aa97aa67baa06390a1ef36088c33bf010
tree1fe6559d8ae3f394b9c448139aaba5d59449b70d
parent08abe669c05521499149dbf84fedefb04a8fa34d
use delta index data when finding best delta matches

This patch allows for computing the delta index for each base object
only once and reuse it when trying to find the best delta match.

This should set the mark and pave the way for possibly better delta
generator algorithms.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-objects.c