DiskLruCache icon indicating copy to clipboard operation
DiskLruCache copied to clipboard

Add a lightweight contains( key ) method for quickly checking if a key exists in the cache

Open Wavesonics opened this issue 11 years ago • 0 comments

Calling get( key ) can be too expensive in some cases as a check if something is in the cache. Providing a light weight, (non-synchronized?) way of checking if a key exists in lruEntries would be very convenient.

Wavesonics avatar Feb 07 '14 20:02 Wavesonics