Skip to content

Implements LRU(Last-recently-used) cache algorithm, Support the thread safe, With Python

Notifications You must be signed in to change notification settings

SakuraSa/LruCache.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LruCache.py

Implements LRU(Last-recently-used) cache algorithm, Support the thread safe, With Python

Example:

from lru import CachedFunction

@CachedFunction(100)
def test_fn(x,y):
    return x,y

About

Implements LRU(Last-recently-used) cache algorithm, Support the thread safe, With Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%