You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Slim Bouguerra (Jira)" <ji...@apache.org> on 2019/12/11 19:18:00 UTC

[jira] [Created] (HIVE-22629) AST Node Children can be quite expensive to build due to List resizing

Slim Bouguerra created HIVE-22629:
-------------------------------------

             Summary: AST Node Children can be quite expensive to build due to List resizing
                 Key: HIVE-22629
                 URL: https://issues.apache.org/jira/browse/HIVE-22629
             Project: Hive
          Issue Type: Improvement
            Reporter: Slim Bouguerra
            Assignee: Slim Bouguerra


As per the attached profile, The AST Node can be a major source of CPU and memory churn, due to the ArrayList resizing and copy.
In my Opinion this can be amortized by providing the actual size.
[~jcamachorodriguez] / [~vgarg] 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)