theigl opened a new pull request, #572: URL: https://github.com/apache/wicket/pull/572
This PR avoids unnecessary allocation of `AppendingStringBuffer` for a `StringResponse` that is never written to. In our case, 99% of the allocations in `Component#internalRenderHead` can be avoided in this way. I'm not sure if we should add `LazyStringResponse` as a separate class, or simply make the existing `StringResponse` lazy. It is used in a lot of places, so we might avoid more allocations if we changed the default implementation. See https://issues.apache.org/jira/browse/WICKET-7041 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
