Files
2026-10-04 04:07:15 +00:00

7 lines
220 B
Plaintext

A LRUDict is basically a simple dictionary, which has a defined
maximum capacity, that may be supplied at construction time, or
modified at run-time via the capacity property:
>>> cache = LRUDict(1)
>>> cache.capacity
1