RecyclableArrayList performance improvements.

This commit is contained in:
mlemanczyk committed 2023-01-14 17:13:37 +01:00
1 parent 012fc3b21f
commit 4aa32a32f7
7 files changed
+134 -47

No files matched your search

@@ -27,7 +27,7 @@ namespace Recyclable.Collections.Benchmarks
DoNothing(list);
}
[Benchmark]
//[Benchmark]
public void List_Add()
{
var data = TestObjects;
@@ -39,7 +39,7 @@ namespace Recyclable.Collections.Benchmarks
}
}
[Benchmark(Baseline = true)]
//[Benchmark(Baseline = true)]
public void List_Add_WithCapacity()
{
var data = TestObjects;
@@ -59,7 +59,7 @@ namespace Recyclable.Collections.Benchmarks
list.AddRange(data);
}
[Benchmark]
[Benchmark(Baseline = true)]
public void List_AddRange_WithCapacity()
{
var data = TestObjects;