Skip to content
a simple but efficient implementation of a size limited least recently used cache in ruby
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
README

README

NAME
  lru_cache.rb

SYNOPSIS
  a simple but efficient implementation of a least recently used size limited
  cache

USAGE
  lru = LRU.cache :max => 1024
  value = lru.get('key'){ lookup(key) }
Something went wrong with that request. Please try again.