Skip to content
/ lru Public

A Go implementation of a least-recently-used cache

License

Notifications You must be signed in to change notification settings

juju/lru

Repository files navigation

lru

A Go implementation of a least-recently-used cache.

Use lru.New(size) to create a new LRU cache that will hold up to size entries. Note that the LRU object is not thread safe, so you will need to add a mutex if it is accessed from multiple goroutines.

About

A Go implementation of a least-recently-used cache

Resources

License

Stars

Watchers

Forks

Packages

No packages published