DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34193>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34193 Summary: [PATCH] Performance improvement to DisjunctionSumScorer Product: Lucene Version: CVS Nightly - Specify date in submission Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Search AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] A recent profile of the new BooleanScorer2 showed that quite a bit of CPU time is spent in the advanceAfterCurrent method of DisjunctionScorer, and in the PriorityQueue of scorers that is used there. This patch reduces the internal overhead of DisjunctionScorer to about 70% of the current one (ie. 30% saving in cpu time). It also reduces the number of calls to the subscorers, but that was not measured. To get this, it was necessary to specialize the PriorityQueue for a Scorer and to add move some code fragments from DisjunctionScorer to this specialized queue. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
