Skip to content

Releases: huntfx/supercache

Fix issue when function has no namespace

06 Aug 10:06
Compare
Choose a tag to compare

Fixes

  • If a function has no namespace, it will no longer fail by trying to add None to a string.

Fix locked database issues

29 Jul 11:55
Compare
Choose a tag to compare

Changes

  • Better handling of locked SQLite databases

Fix issues across sessions

29 Jul 11:17
Compare
Choose a tag to compare

Changes

  • The function name instead of the function object is for the fingerprint

Fixes

  • SQLite will now commit data

Fix issues with threads

12 Feb 11:06
Compare
Choose a tag to compare

Changes

  • Better handling of unexpected race conditions when using threads

Cache engines

11 Feb 18:21
Compare
Choose a tag to compare

Features

  • Customisable cache engines:
    • Improved in-memory support
    • SQLite support
    • Memcached support
  • Define separate groups for use within the same engine

Changes

  • No longer allow generators as hash keys as they can cause collisions
  • Set a default timeout and size on cache creation

Check if cache already exists

10 Mar 21:43
Compare
Choose a tag to compare
  • Adds the cache.exists() function

Initial Release

10 Mar 01:41
Compare
Choose a tag to compare
  • Cache functions, generators, methods and lambdas
  • Set which parameters to cache
  • Ignore parameters from cache
  • Take parameters as int, str, slice and regex
  • Set cache timeout
  • Set maximum cache size
  • Convert generator output to tuple
  • Delete all cache
  • Delete individual parts of cache
  • Get cache misses/hits

Legacy Release

07 Mar 17:05
Compare
Choose a tag to compare

This is quite complex with a lot of features. Some attempt was made to allow cache to be deleted, but it was a bit messy.