Nicolas Pitre <nico@xxxxxxx> writes: > 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. Good job, and it does not seem to spend too many more cycles either (it does slow it down a bit because it needs to do more deltas, but that is to be expected). Here is the average chain length and resulting pack size from full repacking of git.git repository, with three versions. Avg 6.20 6516kB (master) Avg 5.97 5784kB (next, has 1/x version) Avg 6.89 5536kB (this patch on top of next) What's interesting is that the 1/x version shortens the chain (i.e. decreased runtime cost) while producing smaller results, compared to the master version. The story is the same on the kernel archive. Avg 5.82 113808kB (master) Avg 4.76 108044kB (next, has 1/x version) Avg 5.81 105768kB (this patch on top of next) - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html