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

Paul King resolved GROOVY-9703.
-------------------------------
    Fix Version/s: 3.0.6
                   2.5.14
                   4.0.0-alpha-1
       Resolution: Fixed

> DefaultGroovyMethods.reverse(T[], true) performs extra copy
> -----------------------------------------------------------
>
>                 Key: GROOVY-9703
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9703
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Minor
>             Fix For: 4.0.0-alpha-1, 2.5.14, 3.0.6
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code:groovy}
> def array = new Object[] {1,2,3}
> array.reverse(true)
> {code}
> In-place reverse performs an extra (unnecessary) {{System.arraycopy(...)}}.



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

Reply via email to