A Set implementation with Least Recently Used (LRU) eviction policy.
LRUSet maintains a set of values with automatic eviction of least recently
accessed items when capacity limits are reached. Items are moved to the end
of the access order when accessed.
A Set implementation with Least Recently Used (LRU) eviction policy.
LRUSet maintains a set of values with automatic eviction of least recently accessed items when capacity limits are reached. Items are moved to the end of the access order when accessed.
Example