From 4f920cf89a405af1877b12658f4d62394795049a Mon Sep 17 00:00:00 2001 From: mlemanczyk Date: Sun, 29 Jan 2023 21:26:22 +0100 Subject: [PATCH] RecyclableList.Count redirected to _longCount for better performance --- Recyclable.Collections/RecyclableList.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Recyclable.Collections/RecyclableList.cs b/Recyclable.Collections/RecyclableList.cs index 68d0135..1a64aec 100644 --- a/Recyclable.Collections/RecyclableList.cs +++ b/Recyclable.Collections/RecyclableList.cs @@ -26,7 +26,7 @@ namespace Recyclable.Collections protected set => _capacity = value; } - public int Count => (int)LongCount; + public int Count => (int)_longCount; protected long _longCount; public long LongCount