-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(grid): reimplement traverse to not be a generator
This performs slightly better. Also added option `returnWhenOutOfBounds` (defaults to false) to stop traversing when going outside the grid boundaries. This can significantly improve performance.
- Loading branch information
1 parent
f0fe5cc
commit 3a7a09e
Showing
2 changed files
with
15 additions
and
14 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