RecyclableList.Enumerator performance improvements to match List<T>'s performance. Dirty state.

This commit is contained in:
mlemanczyk committed 2023-06-19 22:02:11 +02:00
1 parent 51d3613ffd
commit 15cac80d2f
13 files changed
+683 -192

No files matched your search

@@ -50,7 +50,7 @@ namespace Recyclable.Collections.Benchmarks.POC
// [Params(1, 10, 1024, 10240, RecyclableDefaults.MinPooledArrayLength, RecyclableDefaults.MinItemsCountForParallelization)]
// [Params(RecyclableDefaults.MinItemsCountForParallelization * 3)]
// [Params(1_048_576)]
public virtual int TestObjectCount { get; set; } = 1; //33_554_432; //524_288; //131_072;
public virtual int TestObjectCount { get; set; } = 131_072; //1; //33_554_432; //524_288; //131_072;
public virtual int TestObjectCountForSlowMethods => (TestObjectCount / 2) + 1;// Math.Min(TestObjectCount, 131_072);
// [Params(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200)]