Skip to content

Releases: jitbit/FastCache

1.1.1

27 Oct 09:26

Choose a tag to compare

  • More relaxed pauses for cleanup unittests on Windows (Linux and Mac worked fine)
  • Prevent flooding the thread pool by eviction callbacks
  • Eliminate unnecessary Task.Run & lambda closure

Full Changelog: 1.1.0...1.1.1

1.1.0

05 Nov 11:27

Choose a tag to compare

  • Performance! No double lookups in GetOrAdd, faster Enumerator etc.
  • Adde NET8 target (also keeping NET6). Migrated Tests, Benchmarks and CI to NET8
  • Fixed build warnings (XML comments for all public API)
  • Refactor GetOrAdd methods to reduce duplication
  • Added "itemEvicted" callback fixes #6 fixes #11

Full Changelog: 1.0.11...1.1.0

1.0.11

04 May 12:42

Choose a tag to compare

What's Changed

  • New GetOrAdd overload with factory argument that prevents allocations
  • Small typos by @jodydonetti in #8

New Contributors

Full Changelog: 1.0.10...1.0.11

1.0.10

03 Sep 20:47

Choose a tag to compare

  • Prevent possible thread starvation in ASP.NET apps (use SemaphoreSlim and async eviction instead of a lock statement)
  • TryRemove return value now respects TTL

Full Changelog: 1.0.9...1.0.10

1.0.9

30 Jul 17:38

Choose a tag to compare

  • New API TryRemove with an out variable
  • Less CPU pressure when multiple FastCache instances decide to run a background cleanup job

Full Changelog: 1.0.8...1.0.9

1.0.8

16 Jun 18:27

Choose a tag to compare

  • Faster eviction job (35% faster on large caches of 50k+ items, 10% faster on smaller caches)
  • New public API .EvictExpired() - call to clean up expired items without waiting for the background timer to pick up

Full Changelog: 1.0.7...1.0.8

1.0.7

14 Jun 10:38

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.6...1.0.7

1.0.6

04 Apr 15:17

Choose a tag to compare

What's Changed

  • Remove with value matching by @milokout in #2
  • Get rid of lock(this)
  • Performance improvement for ttlValue.IsExpired()
  • Added Clear() to empty cache

Full Changelog: 1.0.5...1.0.6

1.0.5

09 Nov 11:11

Choose a tag to compare

  • IDisposable
  • no closure in GetOrAdd (20% faster performance)
  • Evictor debounce

fixes #1

1.0.4

22 Sep 11:46

Choose a tag to compare

Better concurrency and true atomic for "TryAdd" and "AddOrGet". Unit tests.