abhiCR7 / reflections

Automatically exported from code.google.com/p/reflections
Do What The F*ck You Want To Public License
0 stars 0 forks source link

ClasspathHelper.forPackage(pkg) introduces a potential performance issue #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ClasspathHelper.forPackage(pkg) returns a Set of URL's which may lead to 
performance issues. It seems that a Set of URI's would be a better fit since 
it's not sharing the same poor implementation of hashCode() and equals() (see 
http://michaelscharf.blogspot.com/2006/11/javaneturlequals-and-hashcode-make.htm
l for more dtails on that).

Original issue reported on code.google.com by jestem.w...@gmail.com on 31 Jul 2013 at 1:46

GoogleCodeExporter commented 8 years ago
now using ClasspathHelper.distinctUrls to convert URLs list to set

Original comment by ronm...@gmail.com on 21 Dec 2013 at 9:34