Github user okram commented on the issue:
https://github.com/apache/tinkerpop/pull/507
So the most frequently called method will be `Bindings.getBoundVariable()`.
It is called on every `Bytecode.convertArguments()` which is called on every
instruction addition. Next, one of primary benefits of the static nature of
`Bindings` (now) is that there is no longer a `transient` reference to them in
`Bytecode` as we can statically access the data.
In terms of the cost of `ThreadLocal.get()`. Dunno..... perhaps a
`clock()`? I can't imagine it being too crazy given that you will never really
have that many entries. ?
---
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.
---