Releases: Yiling-J/theine-go
Releases · Yiling-J/theine-go
v0.6.0
API Changes:
- Added a new option,
UseEntryPool
, to the builder, which defaults to false. Enabling this option will reuse evicted entries through a sync pool. The sync pool was used by default before v0.6.0 and could not be turned off; but it only benefits systems optimized for allocation and those with heavy concurrent writes. See the README for more details.
Enhancements:
- Theine now uses a single LRU window as the "W" part of W-TinyLFU, adaptively changing its size based on hit ratio. This approach is consistent with Caffeine and should improve hit ratios across various workloads.
v0.5.0
API Changes:
- The NVM secondary cache has been moved to a separate package: https://github.com/Yiling-J/theine-nvm.
Enhancements:
- Reduced
Set
allocations, making Theine zero allocation (amortized). - Improved read performance slightly by utilizing a cached
now
value. - Fixed race conditions in cost (weight) updates that could cause inaccurate policy cost.
- Added benchmarks for different
GOMAXPROC
values in the README.
v0.4.1
v0.4.0
What's Changed
- doc: add reference link by @proost in #36
- fix leaking go-routine by @smeadows-okta in #39
- read performance #42 (Moderate improvement on AMD64, significant improvement on ARM64, and better scalability, see PR for details.)
New Contributors
- @proost made their first contribution in #36
- @smeadows-okta made their first contribution in #39
Full Changelog: v0.3.2...v0.4.0
v0.3.2
v0.3.1
v0.3.0 - Hybrid Cache
- Add new Hybrid Cache mode(DRAM + NVM)