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

Adrien Grand commented on LUCENE-8703:
--------------------------------------

+1

> Build point writers only when needed on the BKD tree
> ----------------------------------------------------
>
>                 Key: LUCENE-8703
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8703
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Ignacio Vera
>            Priority: Major
>         Attachments: LUCENE-8703.patch, LUCENE-8703.patch, LUCENE-8703.patch, 
> LatLonPointHEAP.png
>
>
> With the introduction of LUCENE-8699, I have realised the BKD tree uses quite 
> a lot of heap even when it is not needed, for example for 1D points. 
> In this issue I propose to create point writers only when needed. In addition 
> I propose to create PointWriters based on the estimated point count given in 
> the constructor. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to