Hello,

Thanks to SOLR-12743 - one of our collections can't use FastLRUCache - we are 
considering LFUCache instead. But there is SOLR-3393 as well, claiming the 
current implementation is inefficient.

But ConcurrentLRUCache and ConcurrentLFUCache both use ConcurrentHashmap under 
the hood, the get() code is practically identical. So based on the code, i 
would think that, despite LFUCache being inefficient, it is neither slower nor 
faster than FastLRUCache for get(), right?

Or am i missing something obvious here?

Thanks,
Markus

https://issues.apache.org/jira/browse/SOLR-12743
https://issues.apache.org/jira/browse/SOLR-3393

Reply via email to