[ https://issues.apache.org/jira/browse/TINKERPOP-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stephen mallette closed TINKERPOP-1937. --------------------------------------- Resolution: Won't Do Fix Version/s: (was: 3.2.9) (was: 3.3.3) (was: 3.4.0) Interestingly, I didn't see much of an improvement for doing this. Seemed like a bit of a hack anyway, but thought it was worth investigating. > Pass bytecode through ScriptEngine if Bindings are present > ---------------------------------------------------------- > > Key: TINKERPOP-1937 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1937 > Project: TinkerPop > Issue Type: Improvement > Components: server > Affects Versions: 3.2.8 > Reporter: stephen mallette > Assignee: stephen mallette > Priority: Major > > 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 (v7.6.3#76005)