You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2019/04/27 17:13:00 UTC

[jira] [Closed] (MNG-6631) DefaultArtifactVersion.parseVersion is inefficient

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

Hervé Boutemy closed MNG-6631.
------------------------------
       Resolution: Fixed
         Assignee: Hervé Boutemy
    Fix Version/s: 3.6.2

fixed in https://gitbox.apache.org/repos/asf?p=maven.git&a=commit&h=44ad1aafa608697df95225630f5a9cbc50667c79

thank you

> DefaultArtifactVersion.parseVersion is inefficient
> --------------------------------------------------
>
>                 Key: MNG-6631
>                 URL: https://issues.apache.org/jira/browse/MNG-6631
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.6.0
>            Reporter: Stefan Oehme
>            Assignee: Hervé Boutemy
>            Priority: Major
>             Fix For: 3.6.2
>
>
> I'm currently optimizing a very large (2000+ submodule) project. DefaultArtifactVersion.parseVersion is one of the CPU/memory hotspots, because it uses exceptions for control flow. Using if-statements instead would be much faster.
> See [https://github.com/apache/maven/pull/242]



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