Collections.Pooled icon indicating copy to clipboard operation
Collections.Pooled copied to clipboard

Fast, low-allocation ports of List, Dictionary, HashSet, Stack, and Queue using ArrayPool and Span.

Results 17 Collections.Pooled issues
Sort by recently updated
recently updated
newest added

Hi, I've update my project to pooled collections, but it seems time costs has not been imporoved. I've used a lot of linq technologies in my project. So I wonder...

**Is your feature request related to a problem? Please describe.** .NET 6 exposes a low-level method to get a ref to the entry in a `Dictionary`: https://github.com/dotnet/runtime/pull/49388 It would be...

.NET Standard 2.1 is in Preview (as part of .NET Core 3.0) as of this writing. The current version... - Is implemented by .NET Core 3.0 but not .NET Core...

in my test HashSet is much faster and 0 gc ```cs using System.Collections.Generic; using Collections.Pooled; using Gma.DataStructures; using UnityEngine; public class Test169 : bs { HashSet HashSet = new HashSet(){1,2,3,4,5,6,7,8,9};...

It would be great if there was PooledArray implementation along w/ the it's supporting LINQ methods (ToPooledArray etc)

Would it be possible to have a PooledLookup implementation that implements ILookup? This would drastically help us in scenarios we have a large (>1m objects), intermediate lookup we create that...

**Is your feature request related to a problem? Please describe.** Next method is kind of slow in Unity runtime (not sure about Core): ``` public Span Span => _items.AsSpan(0, _size);...

**Describe the bug** When nesting pooled collections inside each other, the debugger crashes when taking a heap snapshot. **To Reproduce** Create a nested collection, for example `PooledDictionary` and attempt to...

Would be amazing if you could add support for ObservableCollection as it's the only collection type that fully supports binding. If you add support I would recommend or suggest you...