The Big Update ...
Added
- There's a new class: `Frozen`
Fixed
- using `BaseCacheImpl` as subclass was cause NotImplementedError, but now fixed.
- `make_*_key` functions error fixed
Improved
All of caches improved and their perfomance improved a lot.
Changed
- All of caches' algorthims changed:
- `Cache` performance improved about 5%.
- `FIFOCache` performance improved about 20%.
- `LFUCache` performance improved about 46%.
- `TTLCache` performance improved about 30%.
- `VTTLCache` performance improved about 20%.
- `LRUCache` performance improved about 40%.
- See [benchmarks](https://github.com/awolverp/cachebox-benchmark)
- All of `.items()` and `.keys()` and `.values()` methods are now ordered.
- `.insert()` method changed: If the cache did have this key present, the value is updated, and the old value is returned.
Deprecated
- `utils.items_in_order` function is deprecated and no longer available.