Collections.Pooled
Collections.Pooled copied to clipboard
Fast, low-allocation ports of List, Dictionary, HashSet, Stack, and Queue using ArrayPool and Span.
**Is your feature request related to a problem? Please describe.** Although not need for my primary use cases, there are some situations where I'd find it beneficial for a Stack...
Is there is any plan to support .NET6?
Updated unit tests to run correctly for .NET 8.0 changes related to enumerators. Also updated benchmarks to latest Benchmark.NET library and related changes to that upgrade This addresses issue #51
[CollectionsMarshal ](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.collectionsmarshal.getvaluerefornullref?view=net-8.0) now supports GetValueRefOrAddDefault and GetValueRefOrNullRef for Dictionary, which can boost the check or add operations. Plase add GetValueRefOrAddDefault and GetValueRefOrNullRef support for PooledDictionary, thanks.