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

Path/label optimization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0
    • process
    • None

    Description

      Currently path queries do a lot of label collection copying. This has a significant impact on performance.

      As the labels are known and set on the traverser when Traverser.split(r, step) is called there is no need to call Traverser.addLabels again in AbstractStep

      Also seeing as AbstractStep.getLabels() returns an UnmodifyableSet the step's labels can be used directly in the traverser. There is no need to make a copy of it.

      Attachments

        Activity

          People

            pietermartin pieter martin
            pietermartin pieter martin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: