v2.5.1
What's changed
- Fix
ConcurrentLfutime-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
ConcurrentLrutorn writes for large structs using SeqLock. - Fix torn writes for 64-bit current time on 32-bit platforms for
ConcurrentLruAfterAccessPolicyandDiscretePolicy. - P/Invoke
TickCount64to evaluate current time for .NET Standard on Windows,Duration.SinceEpochis 5x faster resulting in lower latency lookups forConcurrentTLru/ConcurrentTLfu. - Use
Stopwatch.GetTimestampto evaluate current time on MacOS,Duration.SinceEpochis about 20% faster resulting in slightly lower latency lookups forConcurrentTLru/ConcurrentTLfu.
Full changelog: v2.5.0...v2.5.1