Github user okram commented on the issue:

    https://github.com/apache/tinkerpop/pull/507
  
    @dkuppitz  --- while your model looks more "natural," the problem is that 
we will create a `Bindings` instance in `ThreadLocal` for every `Bytecode` 
creation. Given that `Bindings` are rare (especially given that they are only 
useful for ScriptEngine languages (and thus only when lambdas are used) -- not 
Gremlin-Java), then with the model I have, we don't create a bunch of 
`ThreadLocal` values for "no reason."


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to