Experiment with BLKSIZ/WINSIZ - 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 22ec348a2fff0a5f80a3bdb4fc1bc0ffd4aec838 DIR parent 9bee83eb425e6424e1cb6c9e5fbe6dced9d005ce HTML Author: sin <sin@2f30.org> Date: Sat, 16 Feb 2019 23:58:55 +0000 Experiment with BLKSIZ/WINSIZ Diffstat: M dedup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/dedup.c b/dedup.c @@ -16,8 +16,8 @@ #define STOREF ".store" #define CACHEF ".cache" -#define BLKSIZ (65536*4) -#define WINSIZ 127 +#define BLKSIZ 65536 +#define WINSIZ 32 #define MDSIZ SHA256_DIGEST_LENGTH #define ROTL(x, y) (((x) << (y)) | ((x) >> (32 - (y))))