[ https://issues.apache.org/jira/browse/HIVE-5018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13759083#comment-13759083 ]
Benjamin Jakobus commented on HIVE-5018: ---------------------------------------- Here you go: Avg. of 3 runs: i < 90000000 in loop instantiation took 542 seconds avoiding in loop instantiation took 525 seconds > 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