Replies: 1 comment
-
Sounds good, can you describe a couple of examples of how you see it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In some cases it would be useful to stop a tree traversal when a node is found.
Do you think it would make sense to pass an object with a
stop
method towalk
andmatch
which stops the recursion intraverse
when called?This is likely just a nice to have but in some circumstances it could help reduce overhead.
Beta Was this translation helpful? Give feedback.
All reactions