-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve LFUCache performance #260
Comments
According to this there is already an improved LFUCache implementation available which may be compatible. |
@breid48: Want to get on board and provide a PR for |
I'd be willing to submit a proposal. However, this will involve tearing out all of the existing Is this something that you would be interested in? |
I'm happy with replacing |
Doubly linked list. The design will loosely follow the design proposed in this paper: Ketan Shah, Anirban Mitra, and Dhruv Matani, An O(1) algorithm for implementing the LFU cache eviction scheme, (August 16, 2010). |
Sorry, I should have guessed that 😜 |
According to this two-year old gist,
LFUCache
performance seems to lack behind other cache variants.Since nobody else seems to have noticed, I guess
LFUCache
is not in widespread use. However, it is a sane caching strategy, and improvements (instead of dropping it altogether) would be welcome.The text was updated successfully, but these errors were encountered: