You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "nastra (GitHub)" <gi...@apache.org> on 2019/02/18 15:42:02 UTC

[GitHub] [tinkerpop] nastra commented on issue #1062: TINKERPOP-2163 Improved performance of JavaTranslator method selection

@spmallette one tiny suggestion to avoid creation of unnecessary arrays would be:
```
if (arguments.length > 0) {
            final Object[] argumentsCopy = new Object[arguments.length];
            for (int i = 0; i < arguments.length; i++) {
                argumentsCopy[i] = translateObject(arguments[i]);
            }
        }
```

[ Full content available at: https://github.com/apache/tinkerpop/pull/1062 ]
This message was relayed via gitbox.apache.org for dev@tinkerpop.apache.org