New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MNG-6693] Various speed improvements #259
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please explain how your changes improve performance?
maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
Outdated
Show resolved
Hide resolved
How ? You mean why each change helps improving performance or how did I measure the effect ? or how did i find those ?
|
Another point to consider for speed improvements would be to use specific |
Thanks, I will go through. I think the new model interpolator deserves a separate ticket. The rest seems to be spot improvements. |
This map is not used by maven and the computation can be quite heavy, so lazy compute it. In addition, do not clone the map, as it's an unmodifiable one.
…e improved if needed
maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
Show resolved
Hide resolved
I'll create a separate ticket on monday for the interpolator and will thus keep this PR for the other small changes. |
I've pushed 2 new commits. I'll create a separate JIRA issue for the one about the |
Closing this PR as I've opened 4 smaller ones. |
No description provided.