logic: Only request unconnected child nodes when expanding node
* increases graph performance by ~30%
This commit is contained in:
@@ -140,7 +140,7 @@ void Graph::removeNode(Node* node)
|
||||
}
|
||||
);
|
||||
|
||||
if (node->getEdges().size())
|
||||
if (node->getEdgeCount())
|
||||
{
|
||||
LOG_ERROR("Node still has edges.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user