Marko A. Rodriguez created TINKERPOP-1617:
---------------------------------------------
Summary: 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
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)