From 36da6832dce67da09d7bcee1a6ab2312e515cb0a Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 30 Aug 2021 19:22:03 +0200 Subject: make sketch parameters global vars --- const.go | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'const.go') diff --git a/const.go b/const.go index 700d3df..c97578c 100644 --- a/const.go +++ b/const.go @@ -3,9 +3,12 @@ package main // Defined as var to prevent from using them as const as I want to keep // beeing able to change tkem at runtime. var ( - chunkSize = 8 << 10 - chunksName = "chunks" - chunkIdFmt = "%015d" - versionFmt = "%05d" - filesName = "files" + chunkSize = 8 << 10 + chunksName = "chunks" + chunkIdFmt = "%015d" + versionFmt = "%05d" + filesName = "files" + sketchWSize = 32 + sketchSfCount = 3 + sketchFCount = 4 ) -- cgit v1.2.3