Is it there any LRU implementation of IDictionary?

前端 未结 10 1779
走了就别回头了
走了就别回头了 2020-11-29 21:20

I would like to implement a simple in-memory LRU cache system and I was thinking about a solution based on an IDictionary implementation which could handle an hashed LRU mec

10条回答
  •  一向
    一向 (楼主)
    2020-11-29 21:57

    The Caching Application Block of EntLib has an LRU scavenging option out of the box and can be in memory. It might be a bit heavyweight for what you want tho.

提交回复
热议问题