[
https://issues.apache.org/jira/browse/TINKERPOP-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15843524#comment-15843524
]
ASF GitHub Bot commented on TINKERPOP-1617:
-------------------------------------------
Github user okram closed the pull request at:
https://github.com/apache/tinkerpop/pull/549
> Create a SingleIterationStrategy which will do its best to rewrite OLAP
> traversals to not message pass.
> -------------------------------------------------------------------------------------------------------
>
> Key: TINKERPOP-1617
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1617
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.2.3
> Reporter: Marko A. Rodriguez
> Assignee: Marko A. Rodriguez
> Fix For: 3.2.4
>
>
> The traversal:
> {code}
> g.V().out().id().count()
> {code}
> Requires a message pass from {{out()}}. We shouldn't do this. Instead, if we
> wrap the pre-barrier stage into a {{local()}}, we have:
> {code}
> g.V().local(out().id()).count()
> {code}
> ...which doesn't require a message pass and has the same semantics. This will
> help open up numerous OLAP type traversals to single-pass/non-caching scans.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)