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.
Install
| Product | Versions |
|---|---|
| .NET |
README
ReadHeavyCollections
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
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.