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:08:00 UTC
[jira] [Created] (MNG-6629) DefaultModelValidator.validateId is
inefficient
Stefan Oehme created MNG-6629:
---------------------------------
Summary: DefaultModelValidator.validateId is inefficient
Key: MNG-6629
URL: https://issues.apache.org/jira/browse/MNG-6629
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. DefaultModelValidator.validateId is one of the CPU hotspots, as it uses a regex for validating every ID in the model. Iterating over the characters and checking them against valid ranges would be faster and less memory intensive.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)