-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 8.x, master (9.0)
-
Component/s: None
-
Labels:None
-
Lucene Fields:New
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.