You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "bd2019us (JIRA)" <ji...@apache.org> on 2019/04/20 21:31:00 UTC

[jira] [Created] (WICKET-6657) change replaceAll() to replace() when a regex is not used

bd2019us created WICKET-6657:
--------------------------------

             Summary: change replaceAll() to replace() when a regex is not used
                 Key: WICKET-6657
                 URL: https://issues.apache.org/jira/browse/WICKET-6657
             Project: Wicket
          Issue Type: Improvement
            Reporter: bd2019us


When a regex is not used, replace() is more optimal than replaceAll() because replaceAll() has extra performance overhead from attempting to compile the unused regex



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)