Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1937

Pass bytecode through ScriptEngine if Bindings are present

    XMLWordPrintableJSON

Details

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

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: