[ https://issues.apache.org/jira/browse/SOLR-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man updated SOLR-3393: --------------------------- Attachment: SOLR-3393.patch i manually wrangled Shawn's latest patch so that it works on trunk - tests pass, but i don't know if i'm comfortable committing for 4.0 w/o... 1) a second pair of eyeballs sanity checking that my manual beating on the patch resulted in the correct final code. 2) some timing data indicating that this change really is faster -- particularly since it replaces the internals of LFUCache, so it will affect upgrading users even if they don't change their configs. > Implement an optimized LFUCache > ------------------------------- > > Key: SOLR-3393 > URL: https://issues.apache.org/jira/browse/SOLR-3393 > Project: Solr > Issue Type: Improvement > Components: search > Affects Versions: 3.6, 4.0-ALPHA > Reporter: Shawn Heisey > Priority: Minor > Fix For: 4.0 > > Attachments: SOLR-3393.patch, SOLR-3393.patch, SOLR-3393.patch, > SOLR-3393.patch, SOLR-3393.patch > > > SOLR-2906 gave us an inefficient LFU cache modeled on > FastLRUCache/ConcurrentLRUCache. It could use some serious improvement. The > following project includes an Apache 2.0 licensed O(1) implementation. The > second link is the paper (PDF warning) it was based on: > https://github.com/chirino/hawtdb > http://dhruvbird.com/lfu.pdf > Using this project and paper, I will attempt to make a new O(1) cache called > FastLFUCache that is modeled on LRUCache.java. This will (for now) leave the > existing LFUCache/ConcurrentLFUCache implementation in place. -- 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org