harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Hu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4060) [classlib][luni] Performance improvement of java.util.ArrayList
Date Thu, 07 Jun 2007 02:35:26 GMT

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

Robert Hu closed HARMONY-4060.
------------------------------


Verified.
Thanks  a lot.

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


Mime
View raw message