- 授权协议: 未知
- 开发语言: 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 Definitive Guide to HTML5 WebSocket
Vanessa Wang、Frank Salim、Peter Moskovits / Apress / 2013-3 / USD 26.30
The browser is, hands down, the most popular and ubiquitous deployment platform available to us today: virtually every computer, smartphone, tablet, and just about every other form factor imaginable c......一起来看看 《The Definitive Guide to HTML5 WebSocket》 这本书的介绍吧!
