Skip to content

weiwenchen2022/cache

Repository files navigation

cache

cache is like a Go sync.Map but with generic is safe for concurrent use by multiple goroutines without additional locking or coordination. Loads, stores, and deletes run in amortized constant time.

Installation

go get github.com/weiwenchen2022/cache

Reference

godoc or http://godoc.org/github.com/weiwenchen2022/cache

About

Like a Go sync.Map but with generic is safe for concurrent use by multiple goroutines

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published