dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit 22ec348a2fff0a5f80a3bdb4fc1bc0ffd4aec838
parent 9bee83eb425e6424e1cb6c9e5fbe6dced9d005ce
Author: sin <sin@2f30.org>
Date:   Sat, 16 Feb 2019 23:58:55 +0000

Experiment with BLKSIZ/WINSIZ

Diffstat:
Mdedup.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

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))))