[ 
https://issues.apache.org/jira/browse/LUCENE-7566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998936#comment-16998936
 ] 

Adrien Grand commented on LUCENE-7566:
--------------------------------------

Indeed, this was fixed as a side-effect of making queries immutable.

> BooleanQuery.Builder shouldn't clone added clauses
> --------------------------------------------------
>
>                 Key: LUCENE-7566
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7566
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>            Priority: Trivial
>
> Minor GC improvement: There's no reason to clone BooleanClause in 
> BooleanQuery.Builder.add()



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to