brian-gavin / go-lru

experiment writing a cache with lru eviction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-lru

This is an experiment of writing a simple tlru-like cache. Evictions are determined by a priority queue ordered by expiration time. Each access resets the expiration time of an element in the cache.

About

experiment writing a cache with lru eviction


Languages

Language:Go 100.0%