From d79dc4fb863b7f8b6f7f95e58b8376396f8d243d Mon Sep 17 00:00:00 2001 From: mlemanczyk Date: Thu, 30 Mar 2023 20:29:36 +0200 Subject: [PATCH] Tiny cleanup --- Recyclable.Collections/RecyclableList.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Recyclable.Collections/RecyclableList.cs b/Recyclable.Collections/RecyclableList.cs index 5149d10..b774002 100644 --- a/Recyclable.Collections/RecyclableList.cs +++ b/Recyclable.Collections/RecyclableList.cs @@ -8,13 +8,11 @@ namespace Recyclable.Collections public class RecyclableList : IDisposable, IList { private const int ItemNotFoundIndex = -1; - private const int BatchSize = 8; private static readonly ArrayPool _defaultMemoryBlocksPool = ArrayPool.Create(); private static readonly ArrayPool _defaultBlockArrayPool = ArrayPool.Create(); private static readonly T[][] _emptyMemoryBlocksArray = new T[0][]; private static readonly T[] _emptyBlockArray = new T[0]; - private static readonly IEqualityComparer _equalityComparer = EqualityComparer.Default; private int _blockSize; private int _blockSizePow2Shift;