Which object search strategy is better?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2023
04:03 PM
03-15-2023
04:03 PM
Which object search strategy is better?
Which is better - Depth-first or Breadth-first?
I already scanned through the documentation (link below) and already compared both by running a simple script, but I don't see much time difference.
Any thoughts on which would be better on certain occasions?
Solved! Go to Solution.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2023
01:46 AM
03-16-2023
01:46 AM
Best to leave it as default.
If you were to use the Find method; starting from the top most node and searching for a node at the bottom (height tree is 40), that's when you'll see differences. See Binary search tree
