Back to Explore
acmerfight/lru_cache
A thread-safe least-recently-used (LRU) cache decorator implemented using a double-linked list and a dict (OrderedDict). Useful for memoizing function results with limits (maxsize) and an optional timeout, and it provides an invalidate method for cached entries.
A status summary will appear after the next weekly refresh.
AI-generated from public sources. May be inaccurate. Report
Recent updates
No recent updates have been summarized for this source yet.