alexkoon/jenkins — comment on commit 8f6471b92df0c76de52b169c5516e800d1fd5dbb
File: maven-plugin/src/main/java/hudson/maven/MavenModule.java line 682
By kutzi:

I think the performance of this method could be critical as for EVERY dependency in EVERY job, ALL modules in the Jenkins instance are iterated again.
I've heard of installs with hundreds of jobs (and possibly thousands of modules). I'd like a more efficient lookup of the possible matches - e.g. make the key in modules map a versionless ModuleDependency and have the version as part of the value