Releases: ydylla/fcache
Releases · ydylla/fcache
v1.4.0
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.
v1.3.0
v1.2.0
Changelog
Performance:
- Use ~30% less memory for cache entries. Most noticeable with millions of entries and a long
cacheDir
path.
Bug fixes:
- Restore compatibility with old cache files. Version 1.1.0 can not read existing cache files from the previous release.
v1.1.0
Changelog
New Features:
Clear
function to remove all cache entries and optionally reset the statistics.- Option to restore cache entries in background instead of in
Build
.
Bug Fixes:
- Concurrent puts & deletes could reuse the same filename which caused errors on very fast put & delete operations on the same key.