From 6972ad4f49e29644153993f9cafbbea6d2940cbe Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 30 Apr 2024 20:31:26 +0200 Subject: Fix algorithm to determine optimal blksize --- gen/prop/dt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gen') diff --git a/gen/prop/dt b/gen/prop/dt index 81503d2..85d5709 100755 --- a/gen/prop/dt +++ b/gen/prop/dt @@ -103,7 +103,7 @@ def main() -> None: cs = set(Cs) sz_s1 = len(Cs) * isize(len(cs) - 1) - sz_s2 = len(cs) * bs * 2 + sz_s2 = len(cs) * bs sz = sz_s1 + sz_s2 if sz < smallest: -- cgit v1.2.3