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

Leonardo Uribe resolved MYFACES-3449.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.6
                   2.0.12
    
> [perf] replace buffer in PartialResponseWriter implementation with a fast 
> filter
> --------------------------------------------------------------------------------
>
>                 Key: MYFACES-3449
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3449
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.12, 2.1.6
>
>
> The current implementation of PartialResponseWriter uses a StringWriter with 
> an inner StringBuilder to store the data and then post-process it, escaping 
> CDATA ending sections.
> After checking the code I notice it is possible to replace the buffer with a 
> Filter that escape such sections "on the fly". This will reduce the memory 
> used to handle ajax requests and improve speed a little bit, because the jvm 
> does not longer need to expand over and over such buffer to fit the response.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to