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

ASF GitHub Bot commented on WICKET-7049:
----------------------------------------

theigl merged PR #581:
URL: https://github.com/apache/wicket/pull/581




> Avoid allocation for empty buckets in FilteringHeaderResponse
> -------------------------------------------------------------
>
>                 Key: WICKET-7049
>                 URL: https://issues.apache.org/jira/browse/WICKET-7049
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core
>    Affects Versions: 9.12.0
>            Reporter: Thomas Heigl
>            Assignee: Thomas Heigl
>            Priority: Minor
>
> FilteringHeaderResponse currently allocates a new StringResponse for every 
> header bucket. In ajax requests, these buckets are almost always empty in our 
> case. We should use LazyStringResponse in this case to prevent allocating the 
> underlying string buffer.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to