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

ASF subversion and git services commented on WICKET-7047:
---------------------------------------------------------

Commit 616da32ec1139afac831e519862ad361e06d60fa in wicket's branch 
refs/heads/wicket-9.x from Thomas Heigl
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=616da32ec1 ]

WICKET-7047 Improve initial buffer capacity for multiline-markup (#579)

(cherry picked from commit 87f99e71357d3675bc8fd2ab8d11c9ad8c70be1b)


> Improve initial buffer capacity for Strings.toMultilineMarkup
> -------------------------------------------------------------
>
>                 Key: WICKET-7047
>                 URL: https://issues.apache.org/jira/browse/WICKET-7047
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core
>    Affects Versions: 9.12.0
>            Reporter: Thomas Heigl
>            Assignee: Thomas Heigl
>            Priority: Minor
>
> We currently create an AppendingStringBuffer with default capacity of 16 in 
> Strings#toMultilineMarkup. Since we know the size of the original string and 
> can take a guess at the additional length required for markup, it makes sense 
> to size this buffer appropriately.



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

Reply via email to