Build an LRU cache for function results: derive a cache key from a function and its arguments, then make the cache come back intact after a crash by logging to a file.
Build an LRU cache for function results: derive a cache key from a function and its arguments, then make the cache come back intact after a crash by logging to a file.
The discussion opens with the full question.