[ https://issues.apache.org/jira/browse/LUCENE-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561375#action_12561375 ]
Eks Dev commented on LUCENE-1146: --------------------------------- argh.. these were not core tests, all CoreTests pass with this patch... > ConjunctionScorer small (ca. 3.5%) optimization > ----------------------------------------------- > > Key: LUCENE-1146 > URL: https://issues.apache.org/jira/browse/LUCENE-1146 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Environment: all > Reporter: Eks Dev > Priority: Minor > Attachments: ConjuctionScorerInitialization.patch > > > ConjunctionScorer initialization is done lazy in next() and skipTo() methods, > using one if(firstTime) check, this patch moves this initialization to the > Constructor. Constructor already throws an IOException. speed-up on jdk 5 & > 6 is in the 3.5% - 4% range. Speed-up was measured with standard > TestScorerPerf test in Lucene test package (very dense bit sets) . > Similar issue is with: > https://issues.apache.org/jira/browse/LUCENE-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > patch made on trunk revision: 614219 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]