Tweak params - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 91baa036ca3e412aca7fa92d30f7ccf3c1546cd2 DIR parent e2df9c742065bd99e3d5580ff68d456c4e4e1388 HTML Author: sin <sin@2f30.org> Date: Mon, 18 Feb 2019 16:13:26 +0000 Tweak params Diffstat: M dedup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/dedup.c b/dedup.c @@ -17,9 +17,9 @@ #define STOREF ".store" #define CACHEF ".cache" -#define BLKSIZE (1 * 1024 * 1024) -#define WINSIZE 4095 -#define HASHMSK ((1ul << 21) - 1) +#define BLKSIZE 4096 +#define WINSIZE 511 +#define HASHMSK ((1ul << 10) - 1) #define MSGSIZE 256 #define MDSIZE SHA256_DIGEST_LENGTH