Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This includes some performance tests to compare the visitor and a traversal. Locally, the visitor is twice as fast. This is the most basic Visitor pattern. I've had versions that were more generic, and performance gains vanished quickly. In particular optionally collecting results on exit halfed the performance benefits. If we want to factor that in, we should have an independent base class for that.
- Loading branch information