- 授权协议: 未知
- 开发语言: Python
- 操作系统: Windows
- 软件首页: https://github.com/cleverdeng/LruCache.py
软件介绍
在Py3K里,自带一个cache模块,使用「LRU算法」,能够缓存一些函数或方法放返回值,目前我还在玩Py2K,因此土鳖的造了一个轮子,取名「LruCache.py」,不叫特点的特点:「单进程支持线程安全」
示例代码:
import lru as cache
lru = cache.LruCache(item_max=5)
@lru.fn_cache
def test_fn(x,y):
return x,y
The Haskell School of Music
Paul Hudak、Donya Quick / Cambridge University Press / 2018-10-4 / GBP 42.99
This book teaches functional programming through creative applications in music and sound synthesis. Readers will learn the Haskell programming language and explore numerous ways to create music and d......一起来看看 《The Haskell School of Music》 这本书的介绍吧!
