v1.1.0
1.1.0 - 2024-03-04
The main innovation of this release is node code generation. Thanks to it, the cache will no longer consume more memory due to features that it does not use. For example, if you do not need an expiration policy, then otter will not store the expiration time of each entry. It also allows otter to use more effective expiration policies.
Another expected improvement is the correction of minor synchronization problems due to the state machine. Now otter, unlike other contention-free caches in Go, should not have them at all.
✨️Features
- Added
DeleteByFunc
function to cache (#44) - Added
InitialCapacity
function to builder (#47) - Added collection of additional statistics (#57)