ethanblake4/carbonplayer

Evaluate switch to LRU cache

Opened this issue · 2 comments

Use DiskLRUCache as candidate. Managing our own cache is complicated and not very safe. Using LRU cache would also allow continuous eviction.

Advantage of rolling our own is that we can use our own importance function. Is this possible with LRU cache?

Also we don't want to delete tracks that are in the library... not sure how this could be accomplished...