Binding nodes to a coordinate grid #9
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: mirzaev/graph.mjs#9
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In releases 1.0.0 and 2.0.0, node interactions are processed for each node at once with all registered nodes.
In this case, if we have 1 000 000 nodes, then when processing each of them, a cyclic enumeration of all 1 000 000 nodes will be launched! This is a very expensive operation!
We need to bind nodes to a coordinate grid in order to form a list for interactions only for those nodes that are either in its cell or in neighboring ones
![image](/mirzaev/graph.mjs/attachments/4874c3e9-bb3c-41e3-98e9-cbfb3b01e782)