You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Zhang (JIRA)" <ji...@apache.org> on 2007/11/23 03:38:43 UTC
[jira] Commented: (HARMONY-4858) [classlib][util]
ArrayList#ArrayList() constructs an empty list with capacity of ten
[ 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.