Skip to content

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.

License

Notifications You must be signed in to change notification settings

MarkCiliaVincenti/ReadHeavyCollections

Repository files navigation

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).

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages