You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Ayush Saxena (JIRA)" <ji...@apache.org> on 2019/02/07 19:11:00 UTC

[jira] [Created] (YARN-9287) Consecutive String Builder Append Should Reuse

Ayush Saxena created YARN-9287:
----------------------------------

             Summary: Consecutive String Builder Append Should Reuse
                 Key: YARN-9287
                 URL: https://issues.apache.org/jira/browse/YARN-9287
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Ayush Saxena
            Assignee: Ayush Saxena


 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: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org