pack-objects: thin pack micro-optimization.
authorJunio C Hamano <junkio@cox.net>
Thu, 23 Feb 2006 05:45:45 +0000 (21:45 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 23 Feb 2006 05:45:45 +0000 (21:45 -0800)
Since we sort objects by type, hash, preferredness and then
size, after we have a delta against preferred base, there is no
point trying a delta with non-preferred base. This seems to
save expensive calls to diff-delta and it also seems to save the
output space as well.

Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found