Block size adjustment to more realistic use cases
This commit is contained in:
1 parent
52715d9135
commit
e79a4fd823
1 file changed
+1
-1
@@ -51,7 +51,7 @@ namespace Recyclable.Collections.Benchmarks.POC
|
||||
public int BlockSize => TestObjectCount switch
|
||||
{
|
||||
0 => 1,
|
||||
> 0 and <= 10 => TestObjectCount,
|
||||
> 0 and <= 10_240 => TestObjectCount,
|
||||
_ => TestObjectCount / Divider > 0 ? TestObjectCount / Divider : TestObjectCount
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user