2009/3/6 Niclas Hedhman <[email protected]> > On Fri, Mar 6, 2009 at 9:25 AM, Rickard Öberg <[email protected]> > wrote: > > Doesn't that lead to the > > same lookup as we are talking about? > > Question to Stuart; I understand that it is a implementation detail > whether there is one Method instance or many. But in the Sun > implementation, can we perform a "==" instead of hashing for method > lookup? I.e. loop through an array, since as Michael points out, the > method count is relatively small, and "==" is fairly cheap. >
unfortunately as Rickard and Michael have pointed out, the instances will be different :( Cheers > Niclas > -- > http://www.qi4j.org - New Energy for Java > -- Cheers, Stuart
_______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

