From a5a5e7f275de6ec9784f75a3e2d313e4eee807fa Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 29 Feb 2024 02:55:06 +0100 Subject: Initial (WIP) --- app/Config.hs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 app/Config.hs (limited to 'app/Config.hs') diff --git a/app/Config.hs b/app/Config.hs new file mode 100644 index 0000000..f704804 --- /dev/null +++ b/app/Config.hs @@ -0,0 +1,19 @@ +{-# LANGUAGE Strict #-} + +module Config + ( coreCount + , coreSize + , syncInterval + ) where + +import Data.Bits ((!<<.)) +import Data.Word (Word64) + +coreCount :: Int +coreCount = 2 + +coreSize :: Word64 +coreSize = 1 !<<. 20 + +syncInterval :: Int +syncInterval = 1 !<<. 20 -- cgit v1.2.1