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.