[ 
https://issues.apache.org/jira/browse/WICKET-6657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bd2019us updated WICKET-6657:
-----------------------------
         Labels: pull-request-available  (was: )
    Description: 
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

Affected file:
* wicket-util/src/main/java/org/apache/wicket/util/lang/Args.java

  was: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


> 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
>            Priority: Trivial
>              Labels: pull-request-available
>         Attachments: WICKET-6657.patch
>
>
> 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
> Affected file:
> * wicket-util/src/main/java/org/apache/wicket/util/lang/Args.java



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

Reply via email to