I built a Ruby gem that handles memoization with a ttl
MemoTTL is a thread-safe memoization utility for Ruby that supports TTL (Time-To-Live) and LRU (Least Recently Used) eviction. It's designed for scenarios where memoized values should expire after a period and memory usage must be constrained. I built a Ruby gem for memoization with TTL + LRU cache.
Open source
Reactions (1)
Similar products
by description similarity
Goru
github.coman experimental, Go-inspired concurrency library for Ruby
Urlx
github.coman agent-made Rust replacement for curl/libcurl
Scope-structured arena memory for C
github.comO(1) cleanup, no GC/borrow checker
Quite Fast
github.comsharded cache for Go with LRU/LFU, TTL and object pooling
LLM Rescuer
github.comFixing the billion dollar mistake in Ruby