groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sun (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-8995) Improve the performance of creating list
Date Tue, 19 Feb 2019 16:14:00 GMT

     [ 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)

Mime
View raw message