You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2022/10/19 23:28:00 UTC

[jira] [Created] (CALCITE-5339) Use Method#getParameterCount rather than Method#getParameters to get length

Sergey Nuyanzin created CALCITE-5339:
----------------------------------------

             Summary: Use Method#getParameterCount rather than Method#getParameters to get length
                 Key: CALCITE-5339
                 URL: https://issues.apache.org/jira/browse/CALCITE-5339
             Project: Calcite
          Issue Type: Improvement
          Components: core, tests
            Reporter: Sergey Nuyanzin


The issue with {{Method#getParameters}} is that each time it creates a new array by calling clone. It does not make sense for the cases when only knowledge about number of parameters is required



--
This message was sent by Atlassian Jira
(v8.20.10#820010)