lru-memoize

LRU based memoization cache for Lua functions

$ luarocks install lru-memoize

Lightweight memoization cache for Lua.
Wraps functions to cache results using an LRU eviction policy and optional per-entry TTL for automatic expiration.
Configurable capacity, optional key serializer and simple API for manual caching.

Versions

1.1.0-124 days ago0 downloads
1.0.0-224 days ago5 downloads
1.0.0-128 days ago2 downloads

Dependencies

lua >= 5.1
lua-cmsgpack >= 0.4.0
lua-lru >= 1.0

Labels

Manifests