ASF GitHub Bot commented on TINKERPOP-1911:

Github user spmallette commented on the issue:

    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

Reply via email to