hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giovanni Matteo Fumarola (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-16029) Consecutive StringBuilder.append can be reused
Date Fri, 11 Jan 2019 18:36:00 GMT

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

Giovanni Matteo Fumarola updated HADOOP-16029:
----------------------------------------------
    Summary: Consecutive StringBuilder.append can be reused  (was: Consecutive StringBuilder.append
should be reused)

> Consecutive StringBuilder.append can be reused
> ----------------------------------------------
>
>                 Key: HADOOP-16029
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16029
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HADOOP-16029-01.patch, HADOOP-16029-02.patch, HADOOP-16029-03.patch,
HADOOP-16029-04.patch, HADOOP-16029-05.patch
>
>
> Consecutive calls to StringBuffer/StringBuilder .append should be chained, reusing the
target object. This can improve the performance by producing a smaller bytecode, reducing
overhead and improving inlining.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message