20 packages tagged with “HashSet”
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.
A collection of useful HashSet extension methods
a library with concurrent collections
Provides additional data collections, primitives and polyfills for .NET: ConcurrentHashSet<T>, AssociativeArray<T>, PriorityQueue<T>, Deque<T>.
Immutable hash collections
.NET library that provides thread-safe collections that automatically remove their elements after a particular time has passed. Each instance of a decaying collection has a timespan specified which is used as a lifespan for its elements.
A .NET implementation of the Bundle from the Android SDK
A naive implementation for the missing generic HashSet<T> collection type. By naive I mean it is a simple wrapper around a Dictionary. Use at your own risk.
Fast, low-allocation ports of List, Dictionary, HashSet, Stack, and Queue using ArrayPool and Span.
ReadOnlySet is a generic read-only set. May be use as a read-only wrap on generic HashSet
Write Skip, Take, Distinct, ToList, ToHashSet, ToDictionary, etc. fluently in LINQ statement without extra parentheses.
Simple class to create custom equality comparers to be used in Dictionary and HashSet, among others.
Widely useful highly optimized collections that are missing from the .NET BCL. Commonly Used Types: Singulink.Collections.ListDictionary<TKey, TValue> Singulink.Collections.HashSetDictionary<TKey, TValue> Singulink.Collections.Map<TLeft, TRight> Singulink.Collections.EquatableArray<T> Singulink.Collections.ReadOnlyList<T> Singulink.Collections.ReadOnlyHashSet<T>
A dictionary and a set that offer very fast read speed in expense of slow write speed. Ideal in situations where the collection is infrequently updated but is very often read from.
Hashset binding library for Bridge.NET projects.
Extensions to transform IEnumerable into other generic collection types, including async versions.
A library that presents special generic collections, object models and LINQ extensions (such like IReadOnlySet<T>, ReadOnlyHashSet<T>, EntityEqualityComparer<T>, ToHashSet(), ToReadOnlySet() and AsReadOnly() for HashSets), that follow the original .NET patterns.
Package Description
Why is it that the List is so widely used, even when there is absolutly no need for the features of a List? I think one of the most important reasons is it beeing so easily available. You could simply use the extension method .ToList() on any IEnumerable. To help out in this matter, and hopefully help you use other (more suitable) generic collection types, I've created this package. It contains extension methods for IEnumerable to convert it to: Basic classes: - Stack - Queue - HashSet Interfaces: - ICollection - IEnumerable - ICollection - IList - ISet - IDictionary Concurrent classes: - ConcurrentBag - ConcurrentQueue - ConcurrentStack - ConcurrentDictionary