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)

Reply via email to