Releases: hanke0/python-ctools
Releases · hanke0/python-ctools
Release list
0.2.0
New Feature
- New class :class:
SortedMap. A sorted map base on red-black tree.
Changes
- :class:
CacheMapand :class:TTLCachenow support all of MutableMapping methods. - :meth:
CacheMap.setnxand :meth:TTLCache.setnxmust accept key as their only one argument. - :class:
CacheMapdefault size is setting toMAX_INT32. - :class:
Channeldefault size is setting toMAX_INT32. - :class:
TTLCachedefault ttl is setting to 1 minute.
0.2.0.dev0
New Feature
- New class :class:
SortedMap. A sorted map base on red-black tree.
Changes
- :class:
CacheMapand :class:TTLCachenow support all of MutableMapping methods. - :meth:
CacheMap.setnxand :meth:TTLCache.setnxmust accept key as their only one argument. - :class:
CacheMapdefault size is setting toMAX_INT32. - :class:
Channeldefault size is setting toMAX_INT32. - :class:
TTLCachedefault ttl is setting to 1 minute.
0.1.0
New Features
- New class
ctools.CacheMap, it's a lfu cache behaving mutch like dict. - New class
TTLCache, a cache mapping storing items for a certain time. strhashnow add a method argument which supported fnv1a(default), fnv1, djb2 and murmur algorithms.