LargeCollections 2.1.0
See the version list below for details.
dotnet add package LargeCollections --version 2.1.0
NuGet\Install-Package LargeCollections -Version 2.1.0
<PackageReference Include="LargeCollections" Version="2.1.0" />
paket add LargeCollections --version 2.1.0
#r "nuget: LargeCollections, 2.1.0"
// Install LargeCollections as a Cake Addin #addin nuget:?package=LargeCollections&version=2.1.0 // Install LargeCollections as a Cake Tool #tool nuget:?package=LargeCollections&version=2.1.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 4607183514018775041 items. In comparison many .NET standard collections are limited to about 2.1 billion items. There are also thread-safe (concurrent) variants of the corresponding collection types.
Currently supported collections are:
- LargeArray<T>
- LargeList<T>
- LargeSet<T>
- LargeDictionary<TKey, TValue>
- ReadOnlyLargeSpan<T>
- LargeSpan<T>
- ConcurrentLargeArray<T>
- ConcurrentLargeList<T>
- ConcurrentLargeSet<T>
- ConcurrentLargeDictionary<TKey, TValue>
- DiskCache<TKey, TValue>
- SpatialDiskCache<long, TValue>
ReadOnlyLargeSpan<T> provides a readonly access to a segment of an IReadOnlyLargeArray<T>. LargeSpan<T> provides access to a segment of an ILargeArray<T>.
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 LargeMemoryStream implements a Stream based on a LargeArray<byte>. It extends on demand when writing to it. Additionally it supports reading and writing operations at the same time.
License
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.
SPDX-License-Identifier: MIT
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 was computed. 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. |
.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. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on LargeCollections:
Package | Downloads |
---|---|
LargeCollections.DiskCache
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. |
GitHub repositories
This package is not used by any popular GitHub repositories.