Skip to content

yekingyan/memory_cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memory_cache

内存缓存结果

快速开始

@MemoryCache()
def m(i, j=2):
    print("real time")

for _ in range(100):
    r = m(1)

# print("real time") 只会运行一次

其它

详细用法可看 test.py

About

内存缓存结果

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages