From: Jean-Christophe Le Lann Date: 2010-11-07T20:06:43+09:00 Subject: Re: random bug in the & (set intersection) operator in Arrays Le 07/11/2010 11:40, Robert Klemme a �crit : >> Hi >> >> I think I have discovered a random bug in the& (set intersection) >> operator in Arrays. >> > > Well, Set's implementation and Array's are different. I believe Array > does not use #hash while Set does to efficiently find equivalent > instances. Can you show the code for Say#eql?, Say#hash and Say#== > (same for all other classes whose instances are put into your Arrays)? > I am not convinced yet that you found a bug. > Hello Robert I have no such methods. I simply though that the object IDs would be used for the intersection of the two arrays. Am I wrong ? Thx for your time and explanations ! Regards JCLL