Skip to content

Commit

Permalink
[MSHARED-975] Big speed improvements for patterns that do not contain…
Browse files Browse the repository at this point in the history
… any wildcard

This can be a huge boost for dependency sets that contains lots of artifact ids like in Apache Camel project

Closes #15
  • Loading branch information
gnodet authored and slachiewicz committed Feb 1, 2021
1 parent 6067548 commit 4a6f6d6
Show file tree
Hide file tree
Showing 6 changed files with 1,386 additions and 239 deletions.
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,17 @@
</exclusions>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>1.26</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>1.26</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public boolean include( Artifact artifact )

if ( !shouldInclude )
{
addFilteredArtifactId( artifact.getId() );
addFilteredArtifact( artifact );
}

return shouldInclude;
Expand Down
Loading

0 comments on commit 4a6f6d6

Please sign in to comment.