GitHub user BenoitPerrot opened a pull request:
https://github.com/apache/maven-plugins/pull/61
Compute the set of clazzes of a ClazzpathUnit only once
The method `getClazzes()` in `org.vafer.jdependency.ClazzpathUnit`
actually builds a hash set and fills it up, each time it is called.
Here it was called once for each removable clazz.
Minimizing jars immediately becomes an order of magnitude faster.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/criteo-forks/maven-plugins trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-plugins/pull/61.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #61
----
commit a9c3dfdddaed4367d2c6dd8fd42ebcee7cdba75b
Author: Benoit Perrot <[email protected]>
Date: 2015-09-24T16:44:44Z
Compute the set of clazzes of a ClazzpathUnit only once
The method getClazzes() in org.vafer.jdependency.ClazzpathUnit
actually builds a hash set and fills it up each time it is called.
Here it was called once for each removable clazz.
Minimizing jars immediately becomes an order of magnitude faster.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]