[ https://issues.apache.org/jira/browse/MNG-7686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MNG-7686. ------------------------------- Fix Version/s: 4.0.0 4.0.0-alpha-5 3.9.1 (was: 4.0.x-candidate) (was: 3.9.1-candidate) Resolution: Fixed Fixed with [6e25a2674b3a742bbaee148e9d1359b4495a9fa8|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=6e25a2674b3a742bbaee148e9d1359b4495a9fa8], with [fbf6bdaf01607a9b934d02b53a062e45539d6140|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=fbf6bdaf01607a9b934d02b53a062e45539d6140] for {{maven-3.9.x}} branch. > Speed up by replacing non-pattern #replaceAll() with #replace() or > precompiled patterns > --------------------------------------------------------------------------------------- > > Key: MNG-7686 > URL: https://issues.apache.org/jira/browse/MNG-7686 > Project: Maven > Issue Type: Improvement > Reporter: Michael Osipov > Assignee: Michael Osipov > Priority: Major > Fix For: 3.8.x-candidate, 4.0.0, 4.0.0-alpha-5, 3.9.1 > > > From GH: https://github.com/apache/maven/pull/984 > Two improvements can be done: > 1. Don't use regex-based {{#replaceAll()}} when no regex is required > 2. When regex is required statically precompile the patterns to avoid the > compilation penality over and over again -- This message was sent by Atlassian Jira (v8.20.10#820010)