[jira] [Closed] (TINKERPOP-1404) Path/label optimization
[ https://issues.apache.org/jira/browse/TINKERPOP-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stephen mallette closed TINKERPOP-1404. --- Resolution: Fixed > Path/label optimization > --- > > Key: TINKERPOP-1404 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1404 > Project: TinkerPop > Issue Type: Improvement > Components: process >Affects Versions: 3.2.1 >Reporter: pieter martin >Assignee: pieter martin > Fix For: 3.3.0 > > > 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. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Closed] (TINKERPOP-1404) Path/label optimization
[ https://issues.apache.org/jira/browse/TINKERPOP-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] pieter martin closed TINKERPOP-1404. Resolution: Fixed Fix Version/s: 3.3.0 Implemented via TINKERPOP-1372 > Path/label optimization > --- > > Key: TINKERPOP-1404 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1404 > Project: TinkerPop > Issue Type: Improvement > Components: process >Affects Versions: 3.2.1 >Reporter: pieter martin >Assignee: pieter martin > Labels: performance > Fix For: 3.3.0 > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)