[
https://issues.apache.org/jira/browse/TINKERPOP-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16428797#comment-16428797
]
ASF GitHub Bot commented on TINKERPOP-1143:
-------------------------------------------
Github user dkuppitz commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/830#discussion_r179848121
--- Diff:
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/MatchStep.java
---
@@ -362,7 +360,7 @@ private boolean hasPathLabel(final Path path, final
Set<String> labels) {
while (true) {
if (this.first) {
this.first = false;
-
this.initializeMatchAlgorithm(TraversalEngine.Type.STANDARD);
+ this.initializeMatchAlgorithm(true);
--- End diff --
It's not bad. I don't fully understand the code in `CountMatchAlgorithm`
(the only place where the boolean flag makes a difference), but it seems like
it only reorders the match traversals, possibly to optimize memory consumption
and/or processing time.
> Remove deprecated TraversalSource.Builder and TraversalEngine.
> --------------------------------------------------------------
>
> Key: TINKERPOP-1143
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1143
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.2.0-incubating
> Reporter: Marko A. Rodriguez
> Assignee: stephen mallette
> Priority: Minor
> Labels: breaking
> Fix For: 3.4.0
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)