You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stefan Oehme (JIRA)" <ji...@apache.org> on 2019/04/11 09:12:00 UTC

[jira] [Created] (MNG-6630) ComparableVersion.parseVersion is inefficient

Stefan Oehme created MNG-6630:
---------------------------------

             Summary: ComparableVersion.parseVersion is inefficient
                 Key: MNG-6630
                 URL: https://issues.apache.org/jira/browse/MNG-6630
             Project: Maven
          Issue Type: Bug
            Reporter: Stefan Oehme


I'm currently optimizing a very large (2000+ submodule) project. ComparableVersion.parseVersion is one of the CPU/memory hotspots, because it creates a "canonical" String from the parsed parts, even though that String is only used by tests/debugging. It would be more efficient to only create that String on demand.

SeeĀ [https://github.com/apache/maven/pull/242]



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