Tiny cleanup - "in" removed, where doesn't add value.
This commit is contained in:
1 parent
addef85027
commit
bf392d60ed
1 file changed
+2
-2
@@ -210,7 +210,7 @@ namespace Recyclable.Collections
|
|||||||
}
|
}
|
||||||
|
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
protected static T[][] SetNewLength(in T[][]? source, int minBlockSize, in long newCapacity, ArrayPool<T[]> memoryBlocksPool, ArrayPool<T> blockArrayPool)
|
protected static T[][] SetNewLength(in T[][]? source, int minBlockSize, long newCapacity, ArrayPool<T[]> memoryBlocksPool, ArrayPool<T> blockArrayPool)
|
||||||
{
|
{
|
||||||
const int sourceBlockCount = 0, requiredBlockCount = 1, uninitializedBlocksCount = 2, i = 3;
|
const int sourceBlockCount = 0, requiredBlockCount = 1, uninitializedBlocksCount = 2, i = 3;
|
||||||
|
|
||||||
@@ -274,7 +274,7 @@ namespace Recyclable.Collections
|
|||||||
return newMemoryBlocks;
|
return newMemoryBlocks;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected long EnsureCapacity(in long requestedCapacity)
|
protected long EnsureCapacity(long requestedCapacity)
|
||||||
{
|
{
|
||||||
T[][] memory = _memoryBlocks;
|
T[][] memory = _memoryBlocks;
|
||||||
long newCapacity;
|
long newCapacity;
|
||||||
|
|||||||
Reference in new issue
Block a user