+1

7 jan 2010 kl. 19.50 skrev Robert Muir (JIRA):


[ https://issues.apache.org/jira/browse/LUCENE-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797736 #action_12797736 ]

Robert Muir commented on LUCENE-2194:
-------------------------------------

i tested this with some English, benchmark pkg, etc and at most it seems to only improve processing speed 10%. but I think its worth the trouble since its an easy improvement.

i'll commit in a few days if no one objects.

improve efficiency of snowballfilter
------------------------------------

               Key: LUCENE-2194
               URL: https://issues.apache.org/jira/browse/LUCENE-2194
           Project: Lucene - Java
        Issue Type: Improvement
        Components: contrib/analyzers
          Reporter: Robert Muir
          Assignee: Robert Muir
          Priority: Minor
           Fix For: 3.1

       Attachments: LUCENE-2194.patch


snowball stemming currently creates 2 new strings and 1 new stringbuilder for every word.
all of this is unnecessary, so don't do it.

--
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



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to