X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/e1a060026ac0b80fb080dc17494a2036ad21397e..e2bccb5999f9abc1e7657dc4d3186782f8ab3eee:/dynamic_hash.diff diff --git a/dynamic_hash.diff b/dynamic_hash.diff index d5b7e56..f9a41d5 100644 --- a/dynamic_hash.diff +++ b/dynamic_hash.diff @@ -5,12 +5,18 @@ modulus calculation for (up to) every byte of the source file, which slows down the code for normal file sizes (e.g. 4 CPU seconds slower on a Pentium III when copying a 65 MB file without very much matching data). -This was udapted for the latest codebase from a patch written by Shachar +This was updated for the latest codebase from a patch written by Shachar Shemesh. +To use this patch, run these commands for a successful build: + + patch -p1 count; i++) { uint32 t = SUM2HASH(s->sums[i].sum1); -@@ -162,11 +169,11 @@ static void hash_search(int f,struct sum +@@ -165,11 +172,11 @@ static void hash_search(int f,struct sum (double)offset, s2 & 0xFFFF, s1 & 0xFFFF); }