RentedListCore 0.1.4
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
dotnet add package RentedListCore --version 0.1.4
NuGet\Install-Package RentedListCore -Version 0.1.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RentedListCore" Version="0.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RentedListCore" Version="0.1.4" />
<PackageReference Include="RentedListCore" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RentedListCore --version 0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RentedListCore, 0.1.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=RentedListCore&version=0.1.4
#tool nuget:?package=RentedListCore&version=0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RentedListCore
Disposable List structure allocating memory from ArrayPool
Benchmarks
Adding elements
Code
Results
Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Gen1 | Allocated | Alloc Ratio |
---|---|---|---|---|---|---|---|---|---|
List_Add | 797.3 ns | 185.45 ns | 10.17 ns | 1.00 | 0.02 | 0.4473 | 0.0076 | 8424 B | 1.00 |
RentedList_Add | 516.5 ns | 61.73 ns | 3.38 ns | 0.65 | 0.01 | 0.2174 | 0.0029 | 4120 B | 0.49 |
RentedList_Add_Dispose | 467.9 ns | 55.01 ns | 3.02 ns | 0.59 | 0.01 | - | - | - | 0.00 |
Enumerating elements
Code
Results
Method | Mean | Error | StdDev | Ratio |
---|---|---|---|---|
Array_Enumerator | 1.770 us | 0.0873 us | 0.0048 us | 1.00 |
List_Enumerator | 2.506 us | 0.2307 us | 0.0126 us | 1.42 |
RentedList_Enumerator | 2.364 us | 0.4903 us | 0.0269 us | 1.34 |
Indexing elements
Code
Results
Method | Mean | Error | StdDev | Ratio | RatioSD |
---|---|---|---|---|---|
Array_Indexer | 1.793 us | 0.4019 us | 0.0220 us | 1.00 | 0.02 |
List_Indexer | 2.650 us | 0.1405 us | 0.0077 us | 1.48 | 0.02 |
RentedList_Indexer | 1.915 us | 0.0873 us | 0.0048 us | 1.07 | 0.01 |
Creating collection
Code
Results
Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Gen1 | Allocated | Alloc Ratio |
---|---|---|---|---|---|---|---|---|---|
Array_Create | 119.7 ns | 23.92 ns | 1.31 ns | 1.00 | 0.01 | 0.2136 | - | 3.93 KB | 1.00 |
List_Create | 130.5 ns | 45.66 ns | 2.50 ns | 1.09 | 0.02 | 0.2153 | 0.0031 | 3.96 KB | 1.01 |
RentedList_Create | 250.2 ns | 23.45 ns | 1.29 ns | 2.09 | 0.02 | 0.4325 | 0.0067 | 7.95 KB | 2.02 |
RentedList_Create_Dispose | 146.4 ns | 42.75 ns | 2.34 ns | 1.22 | 0.02 | 0.2136 | - | 3.93 KB | 1.00 |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.Bcl.Memory (>= 9.0.3)
- System.Collections.Immutable (>= 9.0.3)
- System.Reflection.Metadata (>= 9.0.3)
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.