Details
Details
- Reviewers
• tstellarAMD
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Do you actually use Visited outside of the iterator (It's not visible
in this patch if you do)?
If not, you should just use depth_first, not depth_first_ext.
Comment Actions
No. I thought might have a use for it, but this doesn't use it yet. The comment on it also says "This iterator stores the 'visited' set in an external set, which allows it to be more efficient, and allows external clients to use the set for other purposes." so I figured if it's faster to just leave it
Comment Actions
The comment means space efficient, in terms of set reuse of existing sets.
Leaving it is likely to just confuse future readers
:)