From 1fbf0ea1a15bab3abd734665e3070b9b6d23a9c4 Mon Sep 17 00:00:00 2001 From: mlemanczyk Date: Thu, 25 May 2023 19:12:40 +0200 Subject: [PATCH] Threshold limit for parallelization increased based on benchmark results. --- Recyclable.Collections/RecyclableDefaults.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Recyclable.Collections/RecyclableDefaults.cs b/Recyclable.Collections/RecyclableDefaults.cs index 274a911..1fa29b9 100644 --- a/Recyclable.Collections/RecyclableDefaults.cs +++ b/Recyclable.Collections/RecyclableDefaults.cs @@ -4,7 +4,7 @@ { public const int BlockSize = 16_384; public const int Capacity = 1; - public const long MinItemsCountForParallelization = 786_432; + public const long MinItemsCountForParallelization = 850_000; public const int MinPooledArrayLength = 128; public const int MaxPooledBlockSize = 2_147_483_591; public const long ItemNotFoundIndexLong = -1L;