-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize channel computation (#8285)
- Optimize the channel computation to make it go from O(N^2) to O(N). - Cleanup related code a little bit. Most importantly, choose the same meaning for `usedChannels` vs `lastUsedChannels` for both `GridConnection` and `GridNode`. - Remove booting delay. Note that the API still supports it, and that we might want to add back some sort of delay in the future if necessary. - Remove `pathfindingStepsPerTick` config option.
- Loading branch information
1 parent
5b884a3
commit 1600e93
Showing
11 changed files
with
477 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.