You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ayush Saxena (JIRA)" <ji...@apache.org> on 2019/02/07 19:12:00 UTC
[jira] [Updated] (YARN-9287) Consecutive String Builder Append
Should Reuse
[ https://issues.apache.org/jira/browse/YARN-9287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayush Saxena updated YARN-9287:
-------------------------------
Attachment: YARN-9287-01.patch
> 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
> Priority: Major
> Attachments: YARN-9287-01.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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org