Lookup caching is working. It's fairly heavy handed in its invalidation

strategy, but seems to give a 10-20% performance boost.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-11-22 16:14:22 +00:00
parent 5b2edc8b58
commit d12551d5cc
8 changed files with 165 additions and 9 deletions

View File

@@ -252,7 +252,12 @@ public class AVMSearchContext extends SearchContext {
// Search backwards from the current file
int curFileIdx = m_fileIdx;
if (m_fileIdx >= m_fileList.length)
{
m_fileIdx = m_fileList.length - 1;
}
while ( m_fileIdx > 0) {
// Check if the current file is the required search restart point