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

Daniel Kuppitz commented on TINKERPOP3-993:
-------------------------------------------

Same thing as with {{repeat().times(t)}} vs. 
{{repeat().until(loops().is(eq(t)))}}. We shouldn't change it I guess. However, 
we could make the code "simpler" by doing something like this:

{code}
class CyclicPathStep<S> extends SimplePathStep<S> {
    @Override
    protected boolean filter(final Traverser.Admin<S> traverser) {
        return !super.filter(traverser);
    }
}
{code}

> cyclicPath is not(simplePath)
> -----------------------------
>
>                 Key: TINKERPOP3-993
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-993
>             Project: TinkerPop 3
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.0.2-incubating
>            Reporter: Marko A. Rodriguez
>             Fix For: 3.1.1-incubating
>
>
> A simple way to get rid of some steps... Benchmark first.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to