Skip to content

v0.6.0

Latest
Compare
Choose a tag to compare
@Yiling-J Yiling-J released this 29 Oct 08:02
7e53110

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.

hit ratios