[ https://issues.apache.org/jira/browse/MNG-7686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17686714#comment-17686714 ]
Michael Osipov commented on MNG-7686: ------------------------------------- Fixed with [b64934ad92e91f8914eca2f4707f196df4dfcd83|https://gitbox.apache.org/repos/asf?p=maven.git&a=commit&h=b64934ad92e91f8914eca2f4707f196df4dfcd83] for {{maven-3.8.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: 4.0.0, 4.0.0-alpha-5, 3.8.8, 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)