Change 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 346aca7c9992b325ea9683adf7327c55613a1c54
DIR parent cf6f545f03714670fd72ca10e6e4293154d4a28f
HTML Author: sin <sin@2f30.org>
Date: Sat, 2 Mar 2019 11:29:31 +0000
Change params
Diffstat:
M config.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
DIR diff --git a/config.h b/config.h
@@ -1,5 +1,5 @@
-#define BLKSIZE_AVG ((size_t)524288)
-#define BLKSIZE_MIN ((BLKSIZE_AVG) / 4)
-#define BLKSIZE_MAX ((BLKSIZE_AVG) * 4)
+#define BLKSIZE_AVG ((size_t)(1ul << 21))
+#define BLKSIZE_MIN ((size_t)524288)
+#define BLKSIZE_MAX ((size_t)8388608)
#define HASHMASK_BITS (BLKSIZE_AVG - 1)
-#define WINSIZE 32
+#define WINSIZE ((size_t)4095)