Skip to content

A lightweight thread-safe LRU cache for .NET

License

Notifications You must be signed in to change notification settings

kulikov-dev/LRUCache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LRUCache

========

What is it?

Fork. A lightweight thread-safe LRU cache for .NET.

  • Added supports of IDisposable values.
Example Usage

var cache = new LRUCache<int, string>(capacity: 1000);
var key = 1;
var value = "Hello";
cache.Add(key, value);

string valueInCache;
cache.TryGetValue(key, out valueInCache);
// valueInCache is now "Hello"

About

A lightweight thread-safe LRU cache for .NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%