harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4858) [classlib][util] ArrayList#ArrayList() constructs an empty list with capacity of ten
Date Fri, 23 Nov 2007 02:38:43 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544912
] 

Andrew Zhang commented on HARMONY-4858:
---------------------------------------

Thanks Tim,

I discovered this problem when comparing the performance between ArrayList and Vector. 

Just read through the spec of ArrayList and Vector, and check the code. :)

> [classlib][util] ArrayList#ArrayList() constructs an empty list with capacity of ten
> ------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4858
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4858
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrew Zhang
>            Assignee: Tim Ellison
>            Priority: Minor
>
> As the title, but Harmony constructs the list with capacity 0. 

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