Cleanup. Unnecessary files removed.
This commit is contained in:
1 parent
d3c77525df
commit
2f35cc7089
5 files changed
+2
-5806
No files matched your search
@@ -1,15 +0,0 @@
|
||||
using Microsoft.Extensions.ObjectPool;
|
||||
|
||||
namespace Recyclable.Collections.Pools
|
||||
{
|
||||
//public class RecyclableCollectionVersionPool
|
||||
//{
|
||||
// private static readonly RecyclableCollectionVersionPool _shared = new();
|
||||
// public static RecyclableCollectionVersionPool Shared => _shared;
|
||||
|
||||
// private readonly ObjectPool<RecyclableCollectionVersion> _pool = new DefaultObjectPool<RecyclableCollectionVersion>(new DefaultPooledObjectPolicy<RecyclableCollectionVersion>());
|
||||
|
||||
// public RecyclableCollectionVersion Get() => _pool.Get().Reset();
|
||||
// public void Return(RecyclableCollectionVersion version) => _pool.Return(version);
|
||||
//}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
using Microsoft.Extensions.ObjectPool;
|
||||
|
||||
namespace Recyclable.Collections
|
||||
{
|
||||
public partial class RecyclableList<T>
|
||||
{
|
||||
//internal class RecyclableListEnumeratorPool
|
||||
//{
|
||||
// private static readonly RecyclableListEnumeratorPool _shared = new();
|
||||
// public static RecyclableListEnumeratorPool Shared => _shared;
|
||||
|
||||
// private readonly ObjectPool<RecyclableListEnumerator> _pool = new DefaultObjectPool<RecyclableListEnumerator>(new DefaultPooledObjectPolicy<RecyclableListEnumerator>());
|
||||
|
||||
// public RecyclableListEnumerator Get(RecyclableList<T> list) => _pool.Get().Reset(this, list);
|
||||
|
||||
// public void Return(RecyclableListEnumerator version) => _pool.Return(version);
|
||||
//}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user