[ 
https://issues.apache.org/jira/browse/TINKERPOP-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15924957#comment-15924957
 ] 

Marko A. Rodriguez commented on TINKERPOP-1366:
-----------------------------------------------

To make this pure, we should first implement 
https://issues.apache.org/jira/browse/TINKERPOP-1568

> TraversalStrategy.isApplicable(Traversal root)
> ----------------------------------------------
>
>                 Key: TINKERPOP-1366
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1366
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.2.0-incubating
>            Reporter: Marko A. Rodriguez
>
> This is a non-breaking update to the {{TraversalStrategy}} API. There are 
> currently 2 strategies that need to analyze the traversal from the root 
> traversal to know if the strategy should be applied. The problem, strategies 
> work on a per-traversal basis -- not on the entire traversal as a whole. To 
> make it more efficient for these global analysis traversal, we should have a 
> {{boolean TraversalStrategy.isApplicable(Traversal root)}} which will run 
> once and only run to determine if the strategy should be applied to all 
> nested traversals.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to