[
https://issues.apache.org/jira/browse/HIVE-5194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Jakobus updated HIVE-5194:
-----------------------------------
Description: Using asList instead of tight loops is more efficient. (was:
Replace vectors with array lists- Vectors synchronized, making them slower than
array lists. Therefore using vectors in circumstances where thread-safety is
not an issue will decrease performance. I wrote some tests that added 9,999,999
integers to a vector: this took 2367 milliseconds. Adding them to an array list
on the other hand took only 934 milliseconds.
6 instances of this optimization can be applied.)
Summary: Use asList instead of tight loops (was: Replace vectors with
array lists (issue 6))
> Use asList instead of tight loops
> ---------------------------------
>
> Key: HIVE-5194
> URL: https://issues.apache.org/jira/browse/HIVE-5194
> Project: Hive
> Issue Type: Sub-task
> Reporter: Benjamin Jakobus
> Assignee: Benjamin Jakobus
> Fix For: 0.12.0
>
>
> Using asList instead of tight loops is more efficient.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira