Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7686

Speed up by replacing non-pattern #replaceAll() with #replace() or precompiled patterns

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            michael-o Michael Osipov
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: