RecyclableArrayList.Add marked for aggresive inlining for the best performance.

This commit is contained in:
mlemanczyk committed 2023-01-28 22:40:48 +01:00
1 parent 315acb5a68
commit 6da67ede0d
1 file changed
+1 -1
@@ -153,7 +153,7 @@ namespace Recyclable.Collections
public bool IsReadOnly { get; } = false;
//[MethodImpl(MethodImplOptions.AggressiveInlining)]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Add(T item)
{
int requiredCapacity = _count + 1;