From 7912e2ada9c44258c802ef9e0aeef8e562770b13 Mon Sep 17 00:00:00 2001 From: Charles Blake Date: Wed, 26 Jun 2024 04:06:55 -0400 Subject: [PATCH] In small data realm, exceeding 4MiB seems more likely than 256 chars. --- tests/ucl.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ucl.nim b/tests/ucl.nim index 5e4a55e..d209128 100644 --- a/tests/ucl.nim +++ b/tests/ucl.nim @@ -1,8 +1,8 @@ when not declared(stdin): import std/[syncio, formatfloat] import std/[hashes, times], cligen, cligen/[mslice, osUt], adix/oats -const bLen {.intdefine.} = 10 # <1024 long; RT limits nicer but harder -const bOff {.intdefine.} = 22 # <4MiB UNIQUE line data +const bLen {.intdefine.} = 8 # <256 long; RT limits nicer but harder +const bOff {.intdefine.} = 24 # <16MiB UNIQUE line data type Count {.packed.} = object # Dense-ish hash Count type when defined hashCache: hc: uint32 # 4B|8B per cell