You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2010/12/25 16:56:45 UTC

[jira] Resolved: (HIVE-545) Use ArrayList instead of Vector in single-threaded Hive code

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

Edward Capriolo resolved HIVE-545.
----------------------------------

    Resolution: Duplicate

Please remember to click 'submit patch' when you are ready for review. Otherwise no one will be alerted to the completion status of your patch.

> Use ArrayList instead of Vector in single-threaded Hive code
> ------------------------------------------------------------
>
>                 Key: HIVE-545
>                 URL: https://issues.apache.org/jira/browse/HIVE-545
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.4.0
>            Reporter: Zheng Shao
>         Attachments: HIVE-545.patch
>
>
> Most of the Hive code is single-threaded, but sometimes we are using Vector instead of the more efficient ArrayList.
> See http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html
> "This class (ArrayList) is roughly equivalent to Vector, except that it is unsynchronized."

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