dotnet add package LargeCollections --version 3.0.0
NuGet\Install-Package LargeCollections -Version 3.0.0
<PackageReference Include="LargeCollections" Version="3.0.0" />
paket add LargeCollections --version 3.0.0
#r "nuget: LargeCollections, 3.0.0"
// Install LargeCollections as a Cake Addin #addin nuget:?package=LargeCollections&version=3.0.0 // Install LargeCollections as a Cake Tool #tool nuget:?package=LargeCollections&version=3.0.0
What is LargeCollections?
LargeCollections is a library for .NET framework that offers a number of interfaces and types for collections that can store up to 1152921504606846976 items. In comparison many .NET standard collections are limited to about 2.1 billion items.
Currently supported collections are:
- LargeDictionary<TKey, TValue>
- DiskCache<TKey, TValue>
- SpatialDiskCache<long, TValue>
DiskCache<TKey, TValue> is a dictionary-like collection that allows to limit the amount of memory (RAM) in MB that will be used. Any memory requirement that exceeds this amount is automatically swapped out to disk. Additionally it offers multi-threaded operations for performance improvements.
SpatialDiskCache<long, TValue> is a DiskCache<long, TValue> that allows to create a spatial index for the contained elements that can be used for spatial queries.
Since many .NET API are designed to work with Streams the LargeWritableMemoryStream implements a thin Stream API wrapper around a LargeList<byte>. On the other side LargeReadableMemoryStream implements a thin readonly Stream API wrapper around a IReadOnlyLargeArray<byte>.
Copyright (c) 2022 Developer Alexander
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|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.|
|.NET Core||netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.1 is compatible.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on LargeCollections:
Dictionary-like collections that allow to limit the amount of memory (RAM) in MB that will be used. Any memory requirement that exceeds this amount is automatically swapped out to disk. Additionally it offers multi-threaded operations for performance improvements. Note: Pooling in Microsoft.Data.Sqlite version 6.x may can cause crashes or memory budget overruns. If possible usage of Microsoft.Data.Sqlite 5.0.13 is recommended.
This package is not used by any popular GitHub repositories.