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:13:00 UTC
[jira] [Created] (MNG-6631) DefaultArtifactVersion.parseVersion is
inefficient
Stefan Oehme created MNG-6631:
---------------------------------
Summary: 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
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)