Skip to main content
net10.0net6.0net7.0net8.0net9.0

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.

Published
Nov 15, 2026
8d ago
Total Downloads
3.7K
3,683

Install

dotnet add package ReadHeavyCollections --version 1.0.14
ProductVersions
.NET
net10.0net6.0net7.0net8.0net9.0

README

ReadHeavyCollections ReadHeavyCollections

GitHub Workflow Status NuGet NuGet Codacy Grade Codecov

A .NET library that provides a ReadHeavyDictionary and a ReadHeavySet, thread-safe alternatives to the Dictionary and HashSet, with superior read performance at the expense of much slower writing. Ideal in situations where the collection is infrequently updated but is very often read from.

Benchmarks

In order to check the benchmarks, open up GitHub Actions and select the latest workflow run. In the search type "| Method" and you should find 4 sets of benchmarks per framework (SynchronousReadsIntegers, SynchronousReadsStrings, SynchronousRemove, SynchronousWrite).

Changes from Previous Version

v1.0.13v1.0.14
Added Dependencies

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.