Skip to content

Allow using buzhash chunker and switch to it by default #10

@RubenKelevra

Description

@RubenKelevra

Currently, the fixed 256 kb chunker is hard-coded.

Switching to the buzhash chunker gives a large advantage if files are modified and data is moved around – like in VM images or tar archives. It also works pretty good on zstd archives when using --rsyncable.

As the data which is moved around can still be matched, a deduplication of different versions is possible.

As that's a prime target for using Git LFS, I think it's worth changing the default here to buzhash.

There are no disadvantages, except a bit CPU time spend on doing the rolling hash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions