RecyclableList.Add marked for aggressive inlining for the best performance

This commit is contained in:
mlemanczyk committed 2023-01-28 22:49:10 +01:00
1 parent 6da67ede0d
commit 3d6536beea
1 file changed
+1
+1
View File
@@ -266,6 +266,7 @@ namespace Recyclable.Collections
public T[][] MemoryBlocks { get => _memoryBlocks; }
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Add(T item)
{
long requiredCapacity = _longCount + 1;