Changes for version 0.11 - 2026-06-09

  • Atomic max/min for integer-value maps (monotonic, insert-if-absent)
  • Sharded stats: max_entries/max_size/mmap_size now aggregate across shards
  • get_with_ttl registers an LRU access (clock bit), consistent with get
  • new_sharded with an undef path now dies cleanly instead of creating stray files
  • Exception-safe drain buffer; fix max_entries overflow at 2^31 capacity
  • Robustness: O_CLOEXEC on the backing fd; retry flock/msync on EINTR

Modules

Type-specialized shared-memory hash maps for multiprocess access

Provides

in lib/Data/HashMap/Shared/I16.pm
in lib/Data/HashMap/Shared/I16S.pm
in lib/Data/HashMap/Shared/I32.pm
in lib/Data/HashMap/Shared/I32S.pm
in lib/Data/HashMap/Shared/II.pm
in lib/Data/HashMap/Shared/IS.pm
in lib/Data/HashMap/Shared/SI.pm
in lib/Data/HashMap/Shared/SI16.pm
in lib/Data/HashMap/Shared/SI32.pm
in lib/Data/HashMap/Shared/SS.pm