You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2006/12/12 03:41:22 UTC
[jira] Updated: (LUCENE-745) Make inspection of BooleanQuery more
efficient
[ http://issues.apache.org/jira/browse/LUCENE-745?page=all ]
Yonik Seeley updated LUCENE-745:
--------------------------------
Attachment: BooleanQuery.patch
Changes:
- Vector changed to ArrayList for efficiency to remove unneeded synchronization
- added clauses() method to return the List
- changed getClauses() to pre-allocate the correct size, removing one allocation
> Make inspection of BooleanQuery more efficient
> ----------------------------------------------
>
> Key: LUCENE-745
> URL: http://issues.apache.org/jira/browse/LUCENE-745
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Yonik Seeley
> Priority: Minor
> Attachments: BooleanQuery.patch
>
>
> Just attempting to inspect a BooleanQuery allocates two new arrays. This could be cheaper.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org