lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <>
Subject [jira] Commented: (LUCENE-937) Make CachingTokenFilter faster
Date Fri, 22 Jun 2007 02:16:25 GMT


Michael Busch commented on LUCENE-937:

> If you decide to keep things as they are I will have to roll an 
> alternate CachingTokenFilter for my Highlighter (no problem of 
> course <g>).

I'm certainly up to make a change here if it improves performance
significantly (and yes, 43% is significant). I just want to be 
sure that we don't optimize a special case. So yes, it would be 
great if you could vary the parameters in your tests. 

Btw. which JVM version are you using? 

> Make CachingTokenFilter faster
> ------------------------------
>                 Key: LUCENE-937
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Priority: Minor
>         Attachments: CachingTokenFilter.patch
> The wrong data structure was used for the CachingTokenFilter. It should be an ArrayList
rather than a LinkedList. There is a noticeable difference in speed.

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:
For additional commands, e-mail:

View raw message