SomeCode I don't Know
youaresherlock opened this issue · comments
in lru/lru.go file, there is a struct which holds as below fields
*list.List
cache map[interface{}]*list.Element
why don't keep only *list.List to implement?
groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
youaresherlock opened this issue · comments
in lru/lru.go file, there is a struct which holds as below fields
*list.List
cache map[interface{}]*list.Element
why don't keep only *list.List to implement?