golang / groupcache

groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?