v2.5.1
What's changed
- Fix
ConcurrentLfu
time-based expiry policy failing to update the entry's expiry on read. Prior to this fix, expiry is only updated when the read buffer is processed (following a cache write, or when the read buffer is full). - Fix
ConcurrentLru
torn writes for large structs using SeqLock. - Fix torn writes for 64-bit current time on 32-bit platforms for
ConcurrentLru
AfterAccessPolicy
andDiscretePolicy
. - P/Invoke
TickCount64
to evaluate current time for .NET Standard on Windows,Duration.SinceEpoch
is 5x faster resulting in lower latency lookups forConcurrentTLru
/ConcurrentTLfu
. - Use
Stopwatch.GetTimestamp
to evaluate current time on MacOS,Duration.SinceEpoch
is about 20% faster resulting in slightly lower latency lookups forConcurrentTLru
/ConcurrentTLfu
.
Full changelog: v2.5.0...v2.5.1