A simple most-recently-used cache written in Go.
Go to file
Kyle Isom b92e16fa4d Handle evictions properly when cache is empty. 2023-08-27 18:01:16 -07:00
LICENSE.txt Initial import. 2022-02-24 21:39:10 -08:00
README.md Initial import. 2022-02-24 21:39:10 -08:00
go.mod Handle evictions properly when cache is empty. 2023-08-27 18:01:16 -07:00
go.sum Handle evictions properly when cache is empty. 2023-08-27 18:01:16 -07:00
mru.go Handle evictions properly when cache is empty. 2023-08-27 18:01:16 -07:00
mru_test.go Handle evictions properly when cache is empty. 2023-08-27 18:01:16 -07:00
timestamps.go Initial import. 2022-02-24 21:39:10 -08:00
timestamps_test.go Initial import. 2022-02-24 21:39:10 -08:00

README.md

MRU

A Most Recently Used cache implementation in Go. It tries to mimic the behaviour of a hash map.

For example usages, see mru_test.go.