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.
#r "nuget: Collections.Pooled, 1.0.82"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Collections.Pooled as a Cake Addin
#addin nuget:?package=Collections.Pooled&version=1.0.82

// Install Collections.Pooled as a Cake Tool
#tool nuget:?package=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!

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Collections.Pooled:

Package Downloads
MoonTools.Core.Graph
A GC-friendly graph theory library for .NET Core intended for use with games.
Revolution.Core
Package Description
MoonTools.Graph
A GC-friendly graph theory library for .NET Standard intended for use with games.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.0-preview.27 5,541 11/28/2019
2.0.0-preview.26 162 11/13/2019
2.0.0-preview.25 163 11/13/2019
2.0.0-preview.24 344 9/24/2019
2.0.0-preview.23 174 9/5/2019
2.0.0-preview.22 171 9/5/2019
2.0.0-preview.21 173 9/5/2019
2.0.0-preview.20 191 8/14/2019
2.0.0-preview.19 193 8/10/2019
2.0.0-preview.18 198 8/8/2019
2.0.0-preview.16 188 6/23/2019
2.0.0-preview.15 181 6/23/2019
2.0.0-preview.14 182 6/23/2019
2.0.0-preview.13 196 5/19/2019
2.0.0-preview.12 192 5/18/2019
2.0.0-preview.11 187 5/18/2019
2.0.0-preview.10 188 5/18/2019
2.0.0-preview.9 200 5/7/2019
2.0.0-preview.8 190 4/19/2019
2.0.0-preview.7 191 4/8/2019
2.0.0-preview.6 189 4/7/2019
2.0.0-preview.5 188 4/7/2019
2.0.0-preview.4 188 4/7/2019
2.0.0-preview.3 187 4/7/2019
2.0.0-preview.2 193 4/7/2019
1.0.82 32,591 4/3/2019
1.0.77 8,440 2/12/2019
1.0.68 382 2/9/2019
1.0.61 378 2/6/2019
1.0.54 385 2/6/2019
1.0.47 373 1/31/2019
1.0.38 389 1/28/2019
1.0.21 381 1/24/2019
1.0.6 372 1/24/2019
1.0.5 375 1/24/2019
1.0.4 385 1/23/2019
1.0.3.1 377 1/22/2019
1.0.3 394 1/21/2019
1.0.2 417 1/19/2019
1.0.1 374 12/25/2018
1.0.0 392 12/24/2018
Show less