Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
3.2.8
-
None
-
None
Description
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.