hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Jakobus (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5018) Avoiding object instantiation in loops (issue 6)
Date Wed, 14 Aug 2013 08:59:48 GMT

    [ https://issues.apache.org/jira/browse/HIVE-5018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739431#comment-13739431
] 

Benjamin Jakobus commented on HIVE-5018:
----------------------------------------

Sorry Brock - whenever I run ant -Dhadoop.version=1.2.1 package the build succeeds...It's
odd that I don't catch the compile time errors. Is there something that I am missing?
                
> Avoiding object instantiation in loops (issue 6)
> ------------------------------------------------
>
>                 Key: HIVE-5018
>                 URL: https://issues.apache.org/jira/browse/HIVE-5018
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Benjamin Jakobus
>            Assignee: Benjamin Jakobus
>            Priority: Minor
>             Fix For: 0.12.0
>
>         Attachments: HIVE-5018.1.patch.txt
>
>
> Object instantiation inside loops is very expensive. Where possible, object references
should be created outside the loop so that they can be reused.

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

Mime
View raw message