You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2020/06/01 20:08:00 UTC

[jira] [Commented] (LANG-1550) Method ArrayUtils::isArrayIndexValid not optimized.

    [ https://issues.apache.org/jira/browse/LANG-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17121307#comment-17121307 ] 

Gary D. Gregory commented on LANG-1550:
---------------------------------------

I do not understand; if you could demonstrate what you mean in a unit test PR on GitHub that would be best.

 

> Method ArrayUtils::isArrayIndexValid not optimized.
> ---------------------------------------------------
>
>                 Key: LANG-1550
>                 URL: https://issues.apache.org/jira/browse/LANG-1550
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 3.8, 3.9, 3.10
>            Reporter: Edgar Asatryan
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The *ArrayUtils::isArrayIndexValid* is can retrieve array length 2 times in some cases.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)