Small cleanup

This commit is contained in:
mlemanczyk committed 2023-09-16 20:33:11 +02:00
1 parent 9f5871829d
commit 2e1abeaab9
14 files changed
+33 -47

No files matched your search

@@ -41,7 +41,7 @@ namespace Recyclable.Collections.Benchmarks
{
var data = TestObjects;
var dataCount = TestObjectCount;
using var list = new RecyclableLongList<long>(minBlockSize: BlockSize, expectedItemsCount: dataCount);
using var list = new RecyclableLongList<long>(minBlockSize: BlockSize, initialCapacity: dataCount);
for (var i = 0; i < dataCount; i++)
{
list.Add(data[i]);