Skip to content

Releases: mgnsk/evcache

v4.0.1

17 Sep 19:28
cdc21b8
Compare
Choose a tag to compare

Full Changelog: v4.0.0...v4.0.1

  • Removes the Keys() method. Only indeterministic Range() method is available.

v4.0.0

09 Aug 07:50
8d856f7
Compare
Choose a tag to compare

What's Changed

  • Implement LFU and LRU eviction policies by @mgnsk in #36
  • Implement evcache v4 by @mgnsk in #37

Full Changelog: v3.1.14...v4.0.0

v3.1.14

06 Nov 14:48
e279075
Compare
Choose a tag to compare

Full Changelog: v3.1.13...v3.1.14

  • Internal cleanup of record initialization logic.

v3.1.13

29 Oct 14:18
b25883b
Compare
Choose a tag to compare

Full Changelog: v3.1.12...v3.1.13

  • backend: Use non-atomic bool for record initialized state since this is always accessed while holding a lock anyway.
  • Drop ginkgo dependency. The cache now has no external dependencies, except for github.com/mgnsk/ringlist which itself has no dependencies.

v3.1.12

16 Oct 18:05
b8db083
Compare
Choose a tag to compare

Full Changelog: v3.1.11...v3.1.12

v3.1.11

09 Oct 12:25
763d3d3
Compare
Choose a tag to compare

Full Changelog: v3.1.10...v3.1.11

  • Functionally same as previous release; implements proper test for infinite capacity cache shrink realloc.

v3.1.10

06 Oct 18:21
80a665e
Compare
Choose a tag to compare

Full Changelog: v3.1.9...v3.1.10

  • Reallocate map when cache capacity is 0, size exceeds 100000 and then shrinks to half of the largest size.
  • Specify more verbose internal API that improves record lifecycle logic.

v3.1.9

02 Oct 13:34
439b222
Compare
Choose a tag to compare

Full Changelog: v3.1.8...v3.1.9

  • Optimize overflow cleanup

v3.1.8

04 Sep 18:23
dc002c5
Compare
Choose a tag to compare

Full Changelog: v3.1.7...v3.1.8

Memory optimizations

  • Use upgraded github.com/mgnsk/list package that uses optimized struct layout for the element type.

v3.1.7

04 Sep 17:01
04f922d
Compare
Choose a tag to compare

Full Changelog: v3.1.6...v3.1.7

  • Upgrade list package to latest.
  • Uses *list.Element[record[V]] as the main type. This allows the record type to drop list-specific implementations.