Releases: awolverp/cachebox
Releases · awolverp/cachebox
Big Update v2.0.0
In this release, I rewritten all implemetations, documentation, and stub-file.
Added
- New
.drain(n)
method: According to cache algorithm, deletes and returnsn
items from cache. - New
.shrink_to_fit()
method: Shrinks the capacity of the cache as much as possible.
Removed
- The
MRUCache
removed.
Changed
__new__
methods changed; Now you can insert items to caches when creating those.TTLCacheNoDefault
name changed toVTTLCache
.__iter__
,keys
,values
anditems
methods now are iterable.LFUCache
sorting algorithm changed to improve speed.__eq__
and__ne__
methods changed.cached
decorator parameterclear_reuse
default value fromTrue
changed toFalse
.
Deprecated
.delete()
methods are deprecated; usedel cache[key]
instead..getmaxsize()
methods are deprecated; use.maxsize
property instead.TTLCache.getttl()
method is deprecated; use.ttl
property instead.
Fixed
make_typed_key
function bug fixed.
Internal
- Link-time optimization value changed.
codegen-units
value changed.strip
value changed to reduce binary file size.- New dependency:
typing_extensions
Release v1.0.19
Added
- CHANGELOG file added to show you changes
Fixed
- Improve code stability
- README.md file examples fixed
- Add versions information to BENCHMARK.md file
__version__
and__author__
variables fixed
Changed
- Makefile test commands changed
First Release v1.0.0
The fastest memoizing and caching Python library is here ...