GitHub user okram opened a pull request:
https://github.com/apache/tinkerpop/pull/474
TINKERPOP-1471: IncidentToAdjacentStrategy use hidden marker to avoid
repeated recursion.
https://issues.apache.org/jira/browse/TINKERPOP-1471
Hidden labels can be used by strategies as a way to communicate between
"layers" of the compilation tree. This model is now applied to
`IncidentToAdjacentStrategy` where if the traversal (as a whole) should NOT be
processed by `IncidentToAdjacentStrategy`, then each traversal in the tree is
"marked." If the traversal can be processed by `IncidentToAdjacentStrategy`,
then there is no need to mark the traversals. This removes the need to, for
every traversal, do a recursion from the parent traversal looking for
invalidating step classes.
VOTE +1.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/tinkerpop TINKERPOP-1471
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/474.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #474
----
commit 6a1a0741ea8ee64427a126e8980ecf7db1a3299a
Author: Marko A. Rodriguez <[email protected]>
Date: 2016-11-01T17:54:50Z
IncidentToAdjacentStrategy now uses a hidden marker label to remove the
need for constant rootTraversal recrussion in search of invalidating steps.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---