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.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.3
    • 3.2.4
    • process
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: