-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Maybe this should be more a discussion than an actual issue, but once the amount of nodes reaches the limit of what the server can handle to be cached all at once, the plugin might be supposed to load nodes in "chunks".
Like in editmode, it should only load nodes near the player and cache them and evict least used nodes for example.
No need to load nodes that are thousands of blocks away if only editing the ones close by.
The most difficult part would be to run a path finding. Chunks would then for example be associated with all search terms and permissions and with all edges that go into the chunk and leave the chunk, a new graph of chunks would occur. Pathfinding would only solve chunks if an approximation would tell that the shortest path could possibly go through this chunk.