stephen mallette created TINKERPOP-1937:

             Summary: Pass bytecode through ScriptEngine if Bindings are present
                 Key: TINKERPOP-1937
             Project: TinkerPop
          Issue Type: Improvement
          Components: server
    Affects Versions: 3.2.8
            Reporter: stephen mallette
            Assignee: stephen mallette
             Fix For: 3.4.0, 3.2.9, 3.3.3

We currently only pass bytecode through the {{ScriptEngine}} if it has a 
lambda, but it seems to make sense to do the same with bytecode that has 
{{Bindings}} as then caching will kick in and there should be a performance 
improvement when using parameters just as we get with scripts. 

I've looked into ways to get the {{JavaTranslator}} to optimize based on 
{{Bindings}} but I think we've coded ourselves into a corner with there insofar 
as trying to make this enhancement without breaking changes. 3.4.0 might be the 
first chance to make fixes in this regard.

This message was sent by Atlassian JIRA

Reply via email to