[PATCH 4 of 4] revlog: separate methods for deltas and key frames compression/decompression

Durham Goode durham at fb.com
Mon Sep 30 13:49:09 CDT 2013

On 9/28/13 12:14 PM, "Wojciech Lopata" <lopek at fb.com> wrote:

>Numbers for Mozilla repository:
>Regular manifest: 303752 (100%)
>Delta friendly line breaks + binary node strings: 234016 (77.04%)
>DFLB + BNS + stem compression: 230116 (75.75%)
>So in this case we get additional 1.3% size reduction. Full revisions
>constitute 10% of mozilla's manifest, but in some cases it is about 20%,
>so the additional gain would be about 2.5%.
>It's not a lot, but this is an easy gain on the other hand I believe.

I don't think a potential 2% is worth the extra complexity to the revlog
class. So I'd vote for leaving this out of core Mercurial.

More information about the Mercurial-devel mailing list