NuGet Package Recyclable list

Indexed collection like usual List<T>, but with less allocations.
Enables reusing instances of inner array via ArrayPool<T>.Shared.
Provides ToRist() extension method which perfectly replaces conventional ToList() for materializing LINQ queries.
MoveToArray() method releases ownership of internal buffer, so can be used as “array builder”.

Info

Version: 0.4.1
Author(s): Viktor T.
Last Update: Thursday, December 31, 2020
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/Misnomer.Rist


Install
Install-Package Misnomer.Rist
dotnet add package Misnomer.Rist
paket add Misnomer.Rist
Misnomer.Rist Download (Unzip the "nupkg" after downloading)

.NETStandard 1.3 .NETStandard 2.0 net461 netcoreapp2.1 netcoreapp3.1
  • No dependencies.
netstandard2.1


Tags



STATS

must-have-score

1.6

avg-downloads-per-day

2

days-since-last-release

381