4 ms·
https://grantjenks.com/docs/diskcache/api.html#diskcache.Cache.memoize https://grantjenks.com/docs/diskcache/api.html#diskcache.Cac... Decorator to wrap callab
by nicwolff 3y ago
https://grantjenks.com/docs/diskcache/api.html#diskcache.Cache.memoize https://grantjenks.com/docs/diskcache/api.html#diskcache.Cac...
Decorator to wrap callable with memoizing function using cache. Repeated calls with the same arguments will lookup result in cache and avoid function evaluation.
- williamzeng0 3y agoIt does feel like diskcache is for performance gains in production rather than dev time gains. It seems like it would be bothersome to quickly invalidate the cache in case of a bad write.