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

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

nastra commented on issue #1062: TINKERPOP-2163 Improved performance of JavaTranslator method selection
URL: https://github.com/apache/tinkerpop/pull/1062#issuecomment-464780672
 
 
   @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]);
               }
           }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services