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

Thomas Andraschko commented on MYFACES-3504:
--------------------------------------------

The performance benefit is minimal but markResources/isResourceRendered is 
often used internally by OmniFaces users and saves some StringBuilders


> [perf] use shared StringBuilder instance where possible
> -------------------------------------------------------
>
>                 Key: MYFACES-3504
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3504
>             Project: MyFaces Core
>          Issue Type: Improvement
>            Reporter: Martin Kočí
>            Priority: Trivial
>             Fix For: 2.3.0
>
>         Attachments: HtmlFormRendererBase.patch, ResourceUtils.patch
>
>
> Some parts of code can use 
> org.apache.myfaces.shared.renderkit.html.util.SharedStringBuilder and replace:
> 1) String concatenation 
> 2) new StringBuilder/Buffer 
> with one shared StringBuilder instance.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to