Then it would be kewl to have getActionBeanSuffixes returning a set too :-)
On Tue, Apr 21, 2009 at 8:43 PM, Levi Hoogenberg <[email protected]> wrote: > My thoughts are that as soon as Set vs List is your biggest performance > concern, you probably aren't working on a web application :) > > More seriously: which collection you use should depend on its > characteristics (ordered or not, unique elements or not) first. (Not to say > that performance shouldn't be considered at all - you probably wouldn't use > a linked list when you you have to access its elements randomly.) > > Levi > > On Tue, Apr 21, 2009 at 8:17 PM, Richard Hauswald > <[email protected]> wrote: >> >> Hello List, >> I've had a look at the NameBasedActionResolver in order to get the >> logic for the url transformation. I noticed, that getBasePackages() >> returns a Set<String> and getActionBeanSuffixes returns a >> List<String>. I'm not shure about that, but IMHO a list is faster than >> a set, cause a set uses hashes and needs to build them. I understand, >> that a set eliminates double defined packages, but I think perfomance >> is to be prefered here. So getBasePackages and getActionBeanSuffixes >> should return a list or array. Any thoughs on this? >> Richard >> >> >> ------------------------------------------------------------------------------ >> Stay on top of everything new and different, both inside and >> around Java (TM) technology - register by April 22, and save >> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. >> 300 plus technical and hands-on sessions. Register today. >> Use priority code J9JMT32. http://p.sf.net/sfu/p >> _______________________________________________ >> Stripes-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/stripes-users > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > > ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
