You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by GitBox <gi...@apache.org> on 2022/03/04 18:06:08 UTC

[GitHub] [wicket] theigl opened a new pull request #501: WICKET-6960 Avoid allocations when decoding and encoding `ComponentInfo`

theigl opened a new pull request #501:
URL: https://github.com/apache/wicket/pull/501


   This PR includes some micro optimizations for `ComponentInfo`:
   
   - Pre-size `StringBuilders` when encoding and decoding component paths
   - Return empty component path without further allocations
   
   Pre-sizing the `StringBuilder` is about 10% faster if the path is longer than 16 characters.
   
   https://issues.apache.org/jira/browse/WICKET-6960


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@wicket.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [wicket] theigl merged pull request #501: WICKET-6960 Avoid allocations when decoding and encoding `ComponentInfo`

Posted by GitBox <gi...@apache.org>.
theigl merged pull request #501:
URL: https://github.com/apache/wicket/pull/501


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@wicket.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org