Skip to content

Use ZPAQ algorithm as specified by zpaq206.pdf #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

remram44
Copy link
Owner

Fixes #6

This changes the ZPAQ parameters to match the official ZPAQ C++ lib's implementations.

Of course it causes the hashes and the chunks to be different and is therefore a breaking change. In addition, it still doesn't match the official implementation exactly, since it has specific limits on the chunk sizes as well, which are optional here.

I do not know if it is worth making this change, I am filing this for completeness. On the other hand, the deviations from the official implementation should be documented.

@dmarcuse
Copy link

There is at least one "real" use of this library, acid-store. If this were merged it should be done so with a major version bump to prevent breakages.

@dmarcuse
Copy link

(Pinging the aforementioned crate's author in case they have any comments - @lostatc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zpaq algorithm does not appear to match impl in zpaq upstream
2 participants