Skip to content

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

Notifications You must be signed in to change notification settings

ahoward/lru_cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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) }

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages