[
https://issues.apache.org/jira/browse/TINKERPOP-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451756#comment-16451756
]
ASF GitHub Bot commented on TINKERPOP-1950:
-------------------------------------------
Github user jorgebay commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/855#discussion_r183959745
--- Diff:
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalStrategies.java
---
@@ -63,6 +63,8 @@
*/
public interface TraversalStrategies extends Serializable, Cloneable {
+ static Set<Class> LOADED = new HashSet<>();
--- End diff --
Shouldn't we use a collection that supports concurrent modification?
Different threads might be adding items to the collection.
Also, we could move the declaration to `GlobalCache`?.
> Traversal construction performance enhancements
> -----------------------------------------------
>
> Key: TINKERPOP-1950
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1950
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.2.8
> Reporter: stephen mallette
> Assignee: stephen mallette
> Priority: Major
> Fix For: 3.4.0, 3.2.9, 3.3.3
>
>
> The process of constructing a {{Traversal}} could be made more efficient.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)