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

ExpandableIterator can take a full TraverserSet at once -- Barriers.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.1-incubating
    • 3.2.0-incubating
    • process
    • None

    Description

      I haven't looked at ExpandableIterator in over a year. Its one of the most fundamental structures of a Gremlin traversal. I just realized it can take an entire TraverserSet. As such, if the previous step is a Barrier, don't iterate the barrier out, simply "dump it" into the current steps ExpandableIterator. That should speed up things significantly – though there are not that many barrier steps... but still.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: