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

   This PR avoids creating a `TreeSet` in `PageParameters.getNamedKeys()` when 
we do not actually need the contents of the set.
   
   The empty check is 50x faster. The contains check is 5-10x faster for page 
parameters of a reasonable size. 
   If somebody is using page parameters with dozens or hundreds of elements, we 
could still fall back to the `TreeSet`, but I highly doubt it.
   
   https://issues.apache.org/jira/browse/WICKET-7045


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

Reply via email to