From: Max Williams Date: 2008-09-09T17:26:40+09:00 Subject: Re: Is this a sensible implementation for Array#group_by ? > It's also in Ruby 1.8.7 Enumerable. ah...we're still on 1.8.6 round these parts. We need to change up really...i keep seeing this cool stuff. > Another possibility: use a set. investigates....ah yes, sets, i'd completely overlooked those. For some reason the Set class is hard to find in the api, or at least hard for me to find in this particular api - http://www.ruby-doc.org/core/ Converting to_set, then calling divide, then calling to_a again can't be very efficient though, can it? thanks -- Posted via http://www.ruby-forum.com/.