Collections.Pooled 1.0.82

Includes PooledList, PooledDictionary, PooledSet, PooledStack, and PooledQueue: based on the corresponding collections in System.Collections.Generic, but using ArrayPool internally to reduce allocations, and with some API changes that allow for better compatibility with Span.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package Collections.Pooled -Version 1.0.82
dotnet add package Collections.Pooled --version 1.0.82
<PackageReference Include="Collections.Pooled" Version="1.0.82" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Collections.Pooled --version 1.0.82
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Adds `sizeToCapacity` parameter to PooledList constructor. When set to true, this parameter causes the list to start out with `Count == Capacity`. All entries in the list will have the default value for the type, or if `clearMode` is set to `ClearMode.Never` then entries in the list may have a previously-used value from the array pool. This feature is primarily useful when working with value types and avoiding unnecessary allocations. Thanks to Dzmitry Lahoda for the contribution!

Version History

Version Downloads Last updated
2.0.0-preview.16 0 6/23/2019
2.0.0-preview.15 0 6/23/2019
2.0.0-preview.14 0 6/23/2019
2.0.0-preview.13 38 5/19/2019
2.0.0-preview.12 38 5/18/2019
2.0.0-preview.11 38 5/18/2019
2.0.0-preview.10 39 5/18/2019
2.0.0-preview.9 42 5/7/2019
2.0.0-preview.8 43 4/19/2019
2.0.0-preview.7 43 4/8/2019
2.0.0-preview.6 42 4/7/2019
2.0.0-preview.5 41 4/7/2019
2.0.0-preview.4 41 4/7/2019
2.0.0-preview.3 41 4/7/2019
2.0.0-preview.2 42 4/7/2019
1.0.82 97 4/3/2019
1.0.77 1,472 2/12/2019
1.0.68 86 2/9/2019
1.0.61 80 2/6/2019
1.0.54 89 2/6/2019
1.0.47 86 1/31/2019
1.0.38 91 1/28/2019
1.0.21 90 1/24/2019
1.0.6 92 1/24/2019
1.0.5 90 1/24/2019
1.0.4 98 1/23/2019
1.0.3.1 89 1/22/2019
1.0.3 98 1/21/2019
1.0.2 102 1/19/2019
1.0.1 100 12/25/2018
1.0.0 101 12/24/2018
Show less