You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by GitBox <gi...@apache.org> on 2020/04/27 16:56:57 UTC

[GitHub] [wicket] theigl opened a new pull request #422: WICKET-6773 Improve performance of Behaviors.getBehaviors

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


   This PR makes a very minor change by returning `Collections.emptyList` instead of wrapping empty results in a `Collections.unmodifiableList`.
   
   For components without behaviors but with models, this change nearly doubles the throughput.
   
   https://issues.apache.org/jira/browse/WICKET-6773


----------------------------------------------------------------
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.

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