Code cleanup - renaming blockSize => minBlockSize to better reflect the use.
This commit is contained in:
1 parent
b01dc63165
commit
ea29108731
2 files changed
+23
-23
No files matched your search
@@ -14,7 +14,7 @@ namespace Recyclable.Collections.Benchmarks
|
||||
[Benchmark]
|
||||
public void RecyclableList_Create_WithCapacity()
|
||||
{
|
||||
using var list = new RecyclableList<object>(blockSize: 102_400, expectedItemsCount: TestObjectCount);
|
||||
using var list = new RecyclableList<object>(minBlockSize: 102_400, expectedItemsCount: TestObjectCount);
|
||||
DoNothing(list);
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace Recyclable.Collections.Benchmarks
|
||||
{
|
||||
var data = TestObjects;
|
||||
var dataCount = TestObjectCount;
|
||||
using var list = new RecyclableList<object>(blockSize: 102_400, expectedItemsCount: dataCount);
|
||||
using var list = new RecyclableList<object>(minBlockSize: 102_400, expectedItemsCount: dataCount);
|
||||
for (var i = 0; i < dataCount; i++)
|
||||
{
|
||||
list.Add(data[i]);
|
||||
|
||||
Reference in new issue
Block a user