Closed isaacs closed 2 years ago
Track size on the LRUEntry object.
Track currentSize and oldSize values, update as entries are moved around.
currentSize
oldSize
Drop when currentSize is >= max.
Track size on the LRUEntry object.
Track
currentSize
andoldSize
values, update as entries are moved around.Drop when
currentSize
is >= max.