summaryrefslogtreecommitdiffstats
path: root/merge-tree.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2006-05-16 22:29:14 +0200
committerJunio C Hamano <junkio@cox.net>2006-05-16 22:35:46 +0200
commitc3b06a69ffc41b3ac3600628593dd0fdd3988607 (patch)
tree562b4fa4eb89a82fc5c50ef60f70ee54f0788d70 /merge-tree.c
parentpack-object: slightly more efficient (diff)
downloadgit-c3b06a69ffc41b3ac3600628593dd0fdd3988607.tar.xz
git-c3b06a69ffc41b3ac3600628593dd0fdd3988607.zip
improve depth heuristic for maximum delta size
This provides a linear decrement on the penalty related to delta depth instead of being an 1/x function. With this another 5% reduction is observed on packs for both the GIT repo and the Linux kernel repo, as well as fixing a pack size regression in another sample repo I have. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'merge-tree.c')
0 files changed, 0 insertions, 0 deletions