hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10748) Replace StringBuffer with StringBuilder where possible
Date Mon, 01 Jun 2015 03:50:17 GMT

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

Ashutosh Chauhan commented on HIVE-10748:
-----------------------------------------

+1

> Replace StringBuffer with StringBuilder where possible
> ------------------------------------------------------
>
>                 Key: HIVE-10748
>                 URL: https://issues.apache.org/jira/browse/HIVE-10748
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>            Priority: Minor
>         Attachments: HIVE-10748.1.patch
>
>
> I found 40 places in Hive where "new StringBuffer(" is used.
> "Where possible, it is recommended that StringBuilder be used in preference to StringBuffer
as it will be faster under most implementations"
> https://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html



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

Mime
View raw message