muesli / cache2go

Concurrency-safe Go caching library with expiration capabilities and access counters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

expirationCheck optimization ,use lazy and timeAfter check , just like redis key expired policy

liulanghai opened this issue · comments

now expirationCheck will Iter hole map,it will cost more cpu