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)

Reply via email to