You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2019/12/18 08:37:00 UTC
[jira] [Commented] (LUCENE-7566) BooleanQuery.Builder shouldn't
clone added clauses
[ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org