DeviceDetector.NET icon indicating copy to clipboard operation
DeviceDetector.NET copied to clipboard

LRU caching is not LRU caching?

Open emilsteen opened this issue 4 years ago • 0 comments

Had a quick look at the new caching implementation.

The implemented LRU (least recently used) cache looks more like a most used cache (with a hint of least recently added cache) to me. Not necessary a bad thing, but strange.

And I also think the added GenericLRUCache copied from a Github Gist has other quality issues, but I guess it works alright.

emilsteen avatar Mar 16 '21 10:03 emilsteen