You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2015/10/07 23:17:26 UTC

[jira] [Created] (TINKERPOP3-873) FoldStep should default to using BulkSet for efficiency.

Marko A. Rodriguez created TINKERPOP3-873:
---------------------------------------------

             Summary: FoldStep should default to using BulkSet for efficiency.
                 Key: TINKERPOP3-873
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-873
             Project: TinkerPop 3
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.0.1-incubating
            Reporter: Marko A. Rodriguez
            Assignee: Marko A. Rodriguez
             Fix For: 3.1.0-incubating


This is easy, the problem is that:

{code}
GraphTraversal<S,List<E>> fold()
{code}

would become:

{code}
GraphTraversal<S,Set<E>> fold()
{code}

We could make {{BulkSet}} implement List as it does in fact contain all the elements inserted, just not in their respective insert order. Does {{List}} require that the insert order be preserved? {{UnorderedList}} (is that a thing?)



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