Skip to content

Releases: elastic/go-freelru

Release v0.13.0

20 Mar 17:46
v0.13.0
Compare
Choose a tag to compare
  • Fix addMetrics() of ShardedLRU
  • Add stress test for ShardedLRU with lifetime
  • Add a helping comment to the panic() call

v0.12.0

20 Feb 12:13
Compare
Choose a tag to compare
  • Add Metrics() and GetMetrics() to Cache interface

v0.11.0

10 Jan 12:00
Compare
Choose a tag to compare
  • Improve ShardedLRU in speed
  • Use one contiguous block of memory for ShardedLRU
  • Improve and extend benchmarks

v0.10.0

04 Jan 10:27
Compare
Choose a tag to compare
  • added linting via golangci-lint (use make lint)
  • added Github CI for running the linter, the tests and the benchmarks

v0.9.0

02 Jan 18:40
Compare
Choose a tag to compare
  • Added SyncedLRU, a thread-safe exact LRU wrapped around LRU for low concurrency situations.
  • Added ShardedLRU, a thread-safe sharded LRU to avoid lock contention for high concurrency situations.
  • Added parallel benchmarks.
  • Added benchmarks of several other LRU/cache implementations.

v0.6.0

30 Mar 11:06
Compare
Choose a tag to compare

Rename package go_freelru to freelru.

v0.5.0

29 Mar 10:28
Compare
Choose a tag to compare

Fix a serious issue that broke insert-after-evict in the Add() function.

v0.4.0

27 Mar 17:04
Compare
Choose a tag to compare

Add Purge() function.

v0.3.0

25 Mar 17:49
Compare
Choose a tag to compare

Simplify the API for creating new LRU instances.
The Config type has been removed.
Removed DefaultConfig() and NewWithConfig().
The arguments to the New() function have changed.
New functions NewWithSize(), SetLifetime() and SetOnEvict().

v0.2.0

24 Mar 17:06
Compare
Choose a tag to compare

Add lifetime support