3 ms·
What's the ruby equivalent of `functools` and specifically `functools.lru_cache`? Note that `lru_cache` doesn't just do caching, it also provides convenient me
by satyanash 6y ago
What's the ruby equivalent of `functools` and specifically `functools.lru_cache`?
Note that `lru_cache` doesn't just do caching, it also provides convenient methods on the original function to get cache stats etc in a pythonic way.