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

ASF GitHub Bot commented on TINKERPOP-1822:
-------------------------------------------

Github user krlohnes commented on the issue:

    https://github.com/apache/tinkerpop/pull/715
  
    So it's not quite fixed. I changed the while loop to 
    
    ```
                    int i = 0;
                    while (this.starts.hasNext()) {
                        if (i==0) {
                            stashedStarts.push(this.starts.next());
                        } else {
                            stashedStarts.add(this.starts.next());
                        }
                        i++;
                    }
    ```
    
    Which sort of works, but only if the the edges are inserted in the right 
order. I'm still trying to figure out if it's possible to order the starts 
properly.


> Repeat should depth first search
> --------------------------------
>
>                 Key: TINKERPOP-1822
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1822
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.3.0, 3.2.6
>            Reporter: Robert Dale
>            Priority: Major
>
> Perhaps optionally.
> See also:
> * https://groups.google.com/forum/#!topic/gremlin-users/gLSLxH_K-wE
> * https://github.com/apache/tinkerpop/pull/715



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to