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] Created: (HARMONY-4060) [classlib][luni] Performance improvement of java.util.ArrayList
Date Wed, 06 Jun 2007 08:29:26 GMT
[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


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