You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2007/06/06 13:11:26 UTC

[jira] Resolved: (HARMONY-4060) [classlib][luni] Performance improvement of java.util.ArrayList

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

Tim Ellison resolved HARMONY-4060.
----------------------------------

    Resolution: Fixed

Thanks Robert.

Patch applied to LUNI module at repo revision r544803.

Please check it was applied as you expected.


> [classlib][luni] Performance improvement of java.util.ArrayList
> ---------------------------------------------------------------
>
>                 Key: HARMONY-4060
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4060
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Robert Hu
>            Assignee: Tim Ellison
>         Attachments: HARMONY-4060.diff
>
>
> Improvement in java.util.ArrayList:
> 1. modify the constructor ArrayList(Collection), avoid to call "addAll" method
> 2. in "addAll' method, use "System.arraycopy" instead of "iterator copy"
> 3. in "growAtFront", avoid some unnecessary grow
> 4. override "remove(Object)" method, use internal array operations instead of iterator operations from AbstractCollection

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.