From e0daccdc1a2de719b357cc3d3b06452c8500c5a5 Mon Sep 17 00:00:00 2001 From: mlemanczyk Date: Sun, 14 Dec 2025 00:19:53 +0100 Subject: [PATCH] BTree fine-tuned. --- PerfectNumbers.Core/BTree.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PerfectNumbers.Core/BTree.cs b/PerfectNumbers.Core/BTree.cs index 69c5b9b..f14e3e5 100644 --- a/PerfectNumbers.Core/BTree.cs +++ b/PerfectNumbers.Core/BTree.cs @@ -9,7 +9,7 @@ public sealed class BTree() private const int DefaultCapacity = 64; private const int SmallBufferCapacity = 4; private const int RootInlineThreshold = 2048; - private const int RootInlineInitialCapacity = 64; + private const int RootInlineInitialCapacity = 32; private const int ShallowTreeThreshold = 1024; private const int ShallowHashByteCount = 1; private const int LeafInitialCapacity = 8;