-
Notifications
You must be signed in to change notification settings - Fork 43
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
Feature Request: Add more hashing algorithms to mergefs.dedup #147
Comments
#148 is an implementation. |
The speed of a hash function is rarely an issue. The tool is IO bound most of the time. Have you done any benchmarking? |
I'd do it later. |
Made some modifications to #148 , making it way faster to use Before:
After:
MD5 / SHA1 is considered unsafe, so it may use SHA256 (slower):
Sometimes there can be very few bits corrupted in a file, leaking it from the random sampling of |
Add an option:
-H, --hashing-algorithm=
used along with-i, --ignore
. Thus we can use faster algorithms like CRC32, or safer one like sha256, or multiple algorithms in turn (skip latter if former is different)The text was updated successfully, but these errors were encountered: