[ https://issues.apache.org/jira/browse/LUCENE-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741411#action_12741411 ]
Robert Muir commented on LUCENE-1796: ------------------------------------- Uwe, your patch seems to help my large doc case, although as you can see, the numbers are still very different if i implement reusableTS() than if i do not. With patch (reusableTS) Total time:43373 Total time:43428 Total time:43536 Total time:42857 Total time:42835 Without patch (reusableTS) Total time:44613 Total time:45720 Total time:45592 Total time:45445 Total time:45090 Also, with your patch the org.apache.lucene.util.AttributeSource.getAttributeImplsIterator from clearAttributes() is ranked 8 instead of 1 or 2 in profiling. > Speed up repeated TokenStream init > ---------------------------------- > > Key: LUCENE-1796 > URL: https://issues.apache.org/jira/browse/LUCENE-1796 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Mark Miller > Assignee: Uwe Schindler > Fix For: 2.9 > > Attachments: LUCENE-1796.patch, LUCENE-1796.patch > > > by caching isMethodOverridden results -- 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org