You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (JIRA)" <ji...@apache.org> on 2019/02/19 16:14:00 UTC

[jira] [Resolved] (GROOVY-8995) Improve the performance of creating list

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

Daniel Sun resolved GROOVY-8995.
--------------------------------
    Resolution: Fixed

Fixed by https://github.com/apache/groovy/commit/3f26dc7b60cc50144a5982d6e70a6a7586594c46

> Improve the performance of creating list
> ----------------------------------------
>
>                 Key: GROOVY-8995
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8995
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Daniel Sun
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 3.0.0-alpha-5
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> See the javadoc of [https://docs.oracle.com/javase/7/docs/api/java/util/Collections.html#addAll(java.util.Collection,%20T...)] :
> "The behavior of this convenience method is identical to that of {{c.addAll(Arrays.asList(elements))}}, but this method is likely to run significantly faster under most implementations."



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)