[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]