You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ignacio Vera (JIRA)" <ji...@apache.org> on 2019/03/01 06:45:00 UTC

[jira] [Assigned] (LUCENE-8703) Build point writers only when needed on the BKD tree

     [ https://issues.apache.org/jira/browse/LUCENE-8703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ignacio Vera reassigned LUCENE-8703:
------------------------------------

       Resolution: Fixed
         Assignee: Ignacio Vera
    Fix Version/s: master (9.0)
                   8.x

commit in master: 15dd4a17386d2aa7d429eda82d1486b8a7d99514

commit in branch_8x: 748d483e67be5ca3d343e92a1e2d3134dcc0535d

> 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
>            Assignee: Ignacio Vera
>            Priority: Major
>             Fix For: 8.x, master (9.0)
>
>         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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org