lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-745) Make inspection of BooleanQuery more efficient
Date Tue, 12 Dec 2006 02:41:22 GMT
     [ 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


Mime
View raw message