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

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

     [ https://issues.apache.org/jira/browse/CALCITE-5339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated CALCITE-5339:
------------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)