Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1617

Create a SingleIterationStrategy which will do its best to rewrite OLAP traversals to not message pass.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.2.4
    • Component/s: process
    • Labels:
      None

      Description

      The traversal:

      g.V().out().id().count()
      

      Requires a message pass from out(). We shouldn't do this. Instead, if we wrap the pre-barrier stage into a local(), we have:

      g.V().local(out().id()).count()
      

      ...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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                okram Marko A. Rodriguez
                Reporter:
                okram Marko A. Rodriguez
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: