You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2012/09/12 22:11:08 UTC
[jira] [Resolved] (SOLR-3830) Rename LFUCache to FastLFUCache
[ https://issues.apache.org/jira/browse/SOLR-3830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand resolved SOLR-3830.
--------------------------------
Resolution: Won't Fix
Given that we can neither rename LFUCache to FastLFUCache nor rename FastLRUCache to something else, I am marking this issue as won't fix since there is no way to have a consistent name for these two classes.
> Rename LFUCache to FastLFUCache
> -------------------------------
>
> Key: SOLR-3830
> URL: https://issues.apache.org/jira/browse/SOLR-3830
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0-BETA
> Reporter: Adrien Grand
> Priority: Minor
>
> I find it a little disturbing that LFUCache shares most of its behavior (not strictly bounded size, good at concurrent reads, slow at writes unless eviction is performed in a separate thread) with FastLRUCache while it sounds like it is the LFU equivalent of LRUCache (strictly bounded size, synchronized reads, fast writes) so I'd like to rename it to FastLFUCache.
> Maybe we should also rename these Fast*Cache to Concurrent*Cache so that people don't think that they are better than their non Fast alternatives in every way.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org