Solutions from RecyclableArreyList were copied to RecylableList. Initial version.

This commit is contained in:
mlemanczyk committed 2023-01-21 18:50:21 +01:00
1 parent 0c3847a9bf
commit 6ef79d2203
11 files changed
+453 -229

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ namespace Recyclable.Collections
{
var toRemove = List[LongCount - 1];
LongCount--;
if (List.Capacity - LongCount == _blockSize)
if (List.Capacity * _blockSize - LongCount == _blockSize)
{
List.RemoveBlock(List.BlockCount - 1);
}