RecyclableList<T>.Helpers renamed to RecyclableListHelpers and made top-level class for better performance.
This commit is contained in:
1 parent
db8b0602c0
commit
11fd6e3dd0
6 files changed
+235
-238
No files matched your search
@@ -422,7 +422,7 @@ namespace Recyclable.CollectionsTests
|
||||
|
||||
// Act
|
||||
using RecyclableList<long> list = new(testData);
|
||||
RecyclableList<long>.Helpers.QuickSort(list);
|
||||
RecyclableListHelpers<long>.QuickSort(list);
|
||||
|
||||
// Validate
|
||||
_ = list.Count.Should().Be((int)itemsCount);
|
||||
|
||||
@@ -479,7 +479,7 @@ namespace Recyclable.CollectionsTests
|
||||
|
||||
// Act
|
||||
using RecyclableLongList<long> list = new(testData, minBlockSize: targetBlockSize);
|
||||
RecyclableList<long>.Helpers.QuickSort(list);
|
||||
RecyclableListHelpers<long>.QuickSort(list);
|
||||
|
||||
// Validate
|
||||
_ = list.LongCount.Should().Be(itemsCount);
|
||||
|
||||
Reference in new issue
Block a user