muesli / cache2go

Concurrency-safe Go caching library with expiration capabilities and access counters
Other
2.11k stars 518 forks source link

fix:more accurate comment;more efficient slice #71

Open ZMbiubiubiu opened 1 month ago

ZMbiubiubiu commented 1 month ago

1.more accurate comment 2.more efficient slice: we can allocate capacity in advance. we can delete redundant variables

ZMbiubiubiu commented 1 month ago

@muesli can you take a look?