> From: James Edward Gray II [mailto:james / grayproductions.net] > Sent: Tuesday, June 20, 2006 4:32 PM > > p a.uniq #=> [{:foo=>:bar}] > > So which one is uniq() really using? eql?()? > > James Edward Gray II both, uniq creates a hash from the array. Iterating over the array it deletes from the hash and removes values from the array if there is no such element in the hash left. To find the element in the hash both methods are necessary. cheers Simon