You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In large graphs we're wasting almost 10% of the heap for null-entries in AdjacentNodes.nodesWithEdgeProperties - that's the Object[] which holds refs to all adjacent nodes (a.k.a. dummy edges) and the edge properties. For some scenarios, 65% of the entries are null.
It's growth function is rather simplistic and isolated in NodeDb.growAdjacentNodesWithEdgeProperties, and can therefor hopefully be easily optimised.
The text was updated successfully, but these errors were encountered:
In large graphs we're wasting almost 10% of the heap for null-entries in
AdjacentNodes.nodesWithEdgeProperties
- that's theObject[]
which holds refs to all adjacent nodes (a.k.a. dummy edges) and the edge properties. For some scenarios, 65% of the entries arenull
.It's growth function is rather simplistic and isolated in
NodeDb.growAdjacentNodesWithEdgeProperties
, and can therefor hopefully be easily optimised.The text was updated successfully, but these errors were encountered: