lib/model, lib/weakhash: Hash using adler32, add heuristic in puller
Adler32 is much faster, and the heuristic avoid the obvious cases where it will not help. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3872
This commit is contained in:
committed by
Jakob Borg
parent
920274bce4
commit
29d010ec0e
Vendored
+8
@@ -44,6 +44,14 @@
|
||||
"revision": "f9b9f8f7aa27725f5cabb699bd9099ca7ce09143",
|
||||
"branch": "master"
|
||||
},
|
||||
{
|
||||
"importpath": "github.com/chmduquesne/rollinghash",
|
||||
"repository": "https://github.com/chmduquesne/rollinghash",
|
||||
"vcs": "git",
|
||||
"revision": "88b86a92826991b14d01fb43456909fcb8a76b8b",
|
||||
"branch": "master",
|
||||
"notests": true
|
||||
},
|
||||
{
|
||||
"importpath": "github.com/cznic/b",
|
||||
"repository": "https://github.com/cznic/b",
|
||||
|
||||
Reference in New Issue
Block a user