You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Kousuke Saruta (JIRA)" <ji...@apache.org> on 2016/04/10 12:03:25 UTC

[jira] [Updated] (HIVE-13472) Replace primitive wrapper's valueOf method with parse* method to avoid unnecessary boxing/unboxing

     [ https://issues.apache.org/jira/browse/HIVE-13472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kousuke Saruta updated HIVE-13472:
----------------------------------
    Status: Patch Available  (was: Open)

> Replace primitive wrapper's valueOf method with parse* method to avoid unnecessary boxing/unboxing
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-13472
>                 URL: https://issues.apache.org/jira/browse/HIVE-13472
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>    Affects Versions: 2.1.0
>            Reporter: Kousuke Saruta
>            Assignee: Kousuke Saruta
>         Attachments: HIVE-13472.0.patch
>
>
> There are lots of primitive wrapper's valueOf method which should be replaced with parseXX method.
> For example, Integer.valueOf(String) returns Integer type but Integer.parseInt(String) returns primitive int type so we can avoid unnecessary boxing/unboxing by replacing some of them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)