reduce the usage of HashMap and List.iterator. 
-----------------------------------------------

                 Key: HIVE-1472
                 URL: https://issues.apache.org/jira/browse/HIVE-1472
             Project: Hadoop Hive
          Issue Type: Improvement
            Reporter: He Yongqiang
            Priority: Minor


 HashMap is used in a lot of places in Hive. Most times we can just replace it 
with native array. List.iterator() give a lot of pressure to Java GC, we should 
avoid it.
Another thing we can also try here is to replace GroupByOperator's HashMap look 
up by not using the ObjectInspectorUtils.compare(). Instead, We can try here is 
to first serialize the keys and use the serialized bytes to do the comparison.

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

Reply via email to