You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/01/26 14:15:43 UTC
[jira] Commented: (SOLR-26) potential optimization of
BufferedTokenStream?
[ https://issues.apache.org/jira/browse/SOLR-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986997#action_12986997 ]
Robert Muir commented on SOLR-26:
---------------------------------
i think we can resolve this? BufferedTokenStream is deprecated and
when it comes to performance its best to avoid cloning tokens at all in my opinion.
> potential optimization of BufferedTokenStream?
> ----------------------------------------------
>
> Key: SOLR-26
> URL: https://issues.apache.org/jira/browse/SOLR-26
> Project: Solr
> Issue Type: Wish
> Components: search
> Reporter: Hoss Man
> Priority: Minor
>
> SOLR-11 contains an ArrayQueue.java attachment which yonik described as a "premature optimization, writing a circular queue (power-of-two based) that's about twice as fast as a LinkedList for our typical usage"
> if someone is so inclined, if may be worthwhile to modify BufferedTokenStream to use this (and benchmarking that it really is faster)
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org