lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-937) Make CachingTokenFilter faster
Date Sat, 23 Jun 2007 04:18:25 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507560
] 

Michael Busch commented on LUCENE-937:
--------------------------------------

Mark,

the new patch looks good to me! I'm going to commit this soon.

And you certainly don't have to apologize - thanks to your efforts 
I feel that I understand these data structures better now...

Thank you very much for investigating this so thoroughly!



> Make CachingTokenFilter faster
> ------------------------------
>
>                 Key: LUCENE-937
>                 URL: https://issues.apache.org/jira/browse/LUCENE-937
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Priority: Minor
>         Attachments: CachingTokenFilter.patch, CachingTokenFilterRev2.patch
>
>
> The LinkedList used by CachingTokenFilter is accessed using the get() method. Direct
access on a LinkedList is slow and an Iterator should be used instead. For more than a handful
of tokens, the difference in speed grows exponentially.

-- 
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message