Skip to content

micro-moka 1.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Sep 14:56
3ea7223

micro-moka 1.3.0

Added

  • Added Cache::get_or_insert_with_ref to load using borrowed keys without constructing owned keys on hits.
  • Added matched-hasher comparisons with released Micro Moka, quick_cache, lru, and hashlink across key sizes, capacities, loading, clearing, and iteration, plus allocation regression probes.
  • Added borrowed-loader panic, visitation, hash-count, clone-count, and unsized-key regression tests.

Changed

  • Refreshed the isolated benchmark dependency lockfile and audit both dependency graphs with warnings denied.
  • Reused hash table, slab, and free-list allocations across invalidate_all, with a cheap empty-cache path and panic-safe cleanup.
  • Made Iter::count constant-time, including after partial consumption. Kept the existing traversal and iterator representation after broader iteration prototypes regressed other workloads.
  • Added deterministic model/invariant tests spanning exact and budgeted admission, collisions, loading, invalidation, and iterator density transitions.