You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Paul Nicolucci (JIRA)" <de...@myfaces.apache.org> on 2018/08/06 19:22:00 UTC

[jira] [Resolved] (MYFACES-4249) [perf] minor change in CDataEndEscapeFilterWriter to not call str.charAt multiple times

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

Paul Nicolucci resolved MYFACES-4249.
-------------------------------------
    Resolution: Fixed

> [perf] minor change in CDataEndEscapeFilterWriter to not call str.charAt multiple times
> ---------------------------------------------------------------------------------------
>
>                 Key: MYFACES-4249
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4249
>             Project: MyFaces Core
>          Issue Type: Improvement
>    Affects Versions: 2.2.12, 2.3.1
>            Reporter: Paul Nicolucci
>            Assignee: Paul Nicolucci
>            Priority: Minor
>             Fix For: 2.2.13, 2.3.2
>
>
> Currently we calll             c2 = (char) str.charAt(off+i); when (char) str.charAt(off+i) was previously stored in the write method to variable c so we can easily just do the following c2=c and save some string manipulation.



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