Solutions from RecyclableArreyList were copied to RecylableList. Initial version.
This commit is contained in:
1 parent
0c3847a9bf
commit
6ef79d2203
11 files changed
+453
-229
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user