From 17db67564d949ae5db1aa77bb4c4849dbe8814cd Mon Sep 17 00:00:00 2001 From: Moinak Ghosh Date: Mon, 24 Jun 2013 21:13:32 +0530 Subject: [PATCH] Reduce a rollign hash parameter for a slight speedup with no side effect. --- rabin/rabin_dedup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rabin/rabin_dedup.h b/rabin/rabin_dedup.h index 2d4cdda..d6cc1d9 100644 --- a/rabin/rabin_dedup.h +++ b/rabin/rabin_dedup.h @@ -86,7 +86,7 @@ // The sliding window starts at min window size - this offset. It is needless // to slide the window over every byte in the chunk. -#define RAB_WINDOW_SLIDE_OFFSET (256) +#define RAB_WINDOW_SLIDE_OFFSET (64) // Minimum practical chunk size when doing dedup #define RAB_MIN_CHUNK_SIZE (1048576L)