Closed kchronis closed 1 year ago
As the number of cached objects increases, sorting the accessDates becomes expensive. The access dates should only be sorted if the totalCost is greater than the limit.
As the number of cached objects increases, sorting the accessDates becomes expensive. The access dates should only be sorted if the totalCost is greater than the limit.