[ 
https://issues.apache.org/jira/browse/TINKERPOP-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388554#comment-16388554
 ] 

ASF GitHub Bot commented on TINKERPOP-1911:
-------------------------------------------

Github user spmallette commented on the issue:

    https://github.com/apache/tinkerpop/pull/812
  
    The local cache is specific to the `GraphTraversalSource` that's passed 
into the `of()` construction method. As the `GraphTraversalSource` is specific 
to the instance and is not known until construction I figured it was better if 
it were managed local to the `JavaTranslator` instance


> Refactor JavaTranslator to cache all reflective calls
> -----------------------------------------------------
>
>                 Key: TINKERPOP-1911
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1911
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.2.7
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>            Priority: Major
>
> For some reason {{JavaTranslator}} still has some reflection calls in it that 
> are called on every {{Bytecode}} translation. We should cache the results of 
> those expensive methods.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to