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 2017/01/27 21:26:24 UTC
[jira] [Closed] (TINKERPOP-1617) Create a SingleIterationStrategy
which will do its best to rewrite OLAP traversals to not message pass.
[ https://issues.apache.org/jira/browse/TINKERPOP-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marko A. Rodriguez closed TINKERPOP-1617.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 3.2.4
> 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)