theigl opened a new pull request #433: URL: https://github.com/apache/wicket/pull/433
Checks for `Character.UNASSIGNED` instead of looking up non-chars in a set. This solution more than doubles the throughput: ``` escapeMarkupHashSet thrpt 5 395348,174 ± 48047,375 ops/s escapeMarkupCharacterType thrpt 5 847227,062 ± 13051,584 ops/s ``` https://issues.apache.org/jira/browse/WICKET-6788 ---------------------------------------------------------------- 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: us...@infra.apache.org