RecyclableList.Add marked for aggressive inlining for the best performance
This commit is contained in:
1 parent
6da67ede0d
commit
3d6536beea
1 file changed
+1
@@ -266,6 +266,7 @@ namespace Recyclable.Collections
|
||||
|
||||
public T[][] MemoryBlocks { get => _memoryBlocks; }
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void Add(T item)
|
||||
{
|
||||
long requiredCapacity = _longCount + 1;
|
||||
|
||||
Reference in new issue
Block a user