[ 
https://issues.apache.org/jira/browse/TINKERPOP-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stephen mallette closed TINKERPOP-873.
--------------------------------------
    Resolution: Won't Do

at this point we pretty much need to maintain insertion order with {{fold()}} 
so {{Set}} won't work here.

> FoldStep should default to using BulkSet for efficiency.
> --------------------------------------------------------
>
>                 Key: TINKERPOP-873
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-873
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.0.2-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: Marko A. Rodriguez
>            Priority: Major
>              Labels: breaking
>
> 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
(v7.6.3#76005)

Reply via email to