diff options
author | Nicolas Pitre <nico@cam.org> | 2006-05-16 22:29:14 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-16 22:35:46 +0200 |
commit | c3b06a69ffc41b3ac3600628593dd0fdd3988607 (patch) | |
tree | 562b4fa4eb89a82fc5c50ef60f70ee54f0788d70 /pack-check.c | |
parent | pack-object: slightly more efficient (diff) | |
download | git-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 'pack-check.c')
0 files changed, 0 insertions, 0 deletions