From: ts Date: 2001-06-22T22:42:44+09:00 Subject: [ruby-talk:16764] Re: uniq and "equivalence" >>>>> "H" == Hugh Sasse Staff Elec Eng writes: H> Array.uniq seems to rely on deleting multiple references to the same object. H> Furthermore, this test for sameness seems to be based on object.id rather H> than == or ===. Most of the time this is right and proper, and also H> efficient. I support my belief that this is going on with: Array#uniq make first an hash, then delete the elements. H> When this behaviour of uniq is not not what I want, how do I change it? Change the hash function for the objects Guy Decoux