freecache
freecache copied to clipboard
A cache library for Go with zero GC overhead.
I find entry use array for storage in struct segment. This approach requires the implementation of get, set interfaces and expansion logic. ```golang type segment struct { // ... slotLens...
i wanna using GetOrSet to set a empty []byte("") for protoMessage when cache miss but i have no idea how to determine cache miss, []byte("") will also make [value ==...
Can Freecache or some other similar Golang cache allow for KV persistence to the hard drive as well?
i find it a little memory leak with the latest version i try to use tag 1.0.1 then everything is ok
哈希倾斜时 可能导致多数entry被分配到相同segment的ringbuf中。盼望您的解答
freecache why not introduce singleflight for hot key issue? or any reason?
I allocate 3G memory for cache. The size of cached data is about 10m terms and the cache memory is almost full. When I use `cache.Get()`, I found sometimes it...
HI, would you like kindly to tell me about that :is it to delete element in iterator? many thanks.
(on top of #92 -- merge that first!) Fixes #91.