Hacker News new | ask | show | jobs
by drej 2185 days ago
Functools’ lru_cache also has good methods for getting more info about the cache’s utilisation (.cache_info() I think), which is quite helpful when found in logs.