| 5 | | About 25% of the allocations are from `INode#getEastNorth` -- the actual `EastNorth` object is not cached in `Node`. It looks those are for `Geometry.getSegmentSegmentIntersection`, which we may want to add an overload for (`Geometry.getSegmentSegmentIntersection(ILatLon, ILatLon, ILatLon, ILatLon)`). I'll attach a patch for that, if you want to try it. If it works out, a bit of cleanup will be necessary for sonarlint (`null` -> empty arrays, specifically). |
| | 5 | About 25% of the allocations are from `INode#getEastNorth` -- the actual `EastNorth` object is not cached in `Node`. It looks those are for `Geometry.getSegmentSegmentIntersection`, which we may want to add an overload for (`Geometry.getSegmentSegmentIntersection(ILatLon, ILatLon, ILatLon, ILatLon)`). I'll attach a [attachment:20716.patch patch] for that, if you want to try it. If it works out, a bit of cleanup will be necessary for sonarlint (`null` -> empty arrays, specifically). |