by MayeulC · 1y ago · 0 comments
https://en.wikipedia.org/wiki/Rolling_hash#Content-based_sli...
https://en.wikipedia.org/wiki/Rolling_hash#Content-based_sli...
The speed improvements over rsync seem related to a more efficient rolling hash algorithm, and possibly by using native windows executables instead of cygwin (windows file systems are notoriously slow, maybe that plays a role here).
Or am I missing something?
In any case, the performance boost is interesting. Glad the source was opened, and I hope it finds its way into rsync.
No, it operates on fixed size blocks over the destination file. However, by using a rolling hash, it can detect those blocks at any offset within the source file to avoid re-transferring them.
The original is the GPL variant [today displaying "Upgrade required"]:
The second is the BSD clone:
The BSD version would be used on platforms that are intolerant of later versions of the GPL (Apple, Android, etc.).