Simple dictionary with LRU behaviour in Python
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
$
pkg install py311-darts.util.lruOrigin
devel/py-darts.util.lru
Size
128KiB
License
MIT
Maintainer
dbaio@FreeBSD.org
Dependencies
1 packages
Required by
0 packages