lxzan / memorycache

minimalist in-memory kv storage, powered by hashmap and minimal quad heap.
https://pkg.go.dev/github.com/lxzan/memorycache
MIT License
50 stars 5 forks source link

Add some cache operation methods and an atomic buffer clock #6

Closed Cloverk1t closed 1 year ago

Cloverk1t commented 1 year ago

Add some cache operation methods, correct file naming, and improve the test cases of operation methods. Add an atomic buffer clock to avoid time object memory explosion under high pressure.