Skip to content

v1.4.0

Latest
Compare
Choose a tag to compare
@ydylla ydylla released this 27 Oct 15:04

Changelog

Features:

  • Stats() now exposes the timestamp of the last eviction and its duration.

Performance:

  • Reduced memory usage by ~35%.
  • Faster GetOrPut for not existing entries by keeping the write file handle open for the following read.

Bug fixes:

  • os.ErrNotExist is now ignored in cases where the goal was to remove the file anyway.