From: Dave Bass Date: 2008-07-08T00:55:03+09:00 Subject: Re: implementing a simple and efficient index system Robert Dober wrote: >> Thanks, that's exactly what I was looking for! I didn't know set >> basically works like a hash without a key... > > make that "without a value". For sets in Perl I've used hashes with an arbitrary value of 1, or undef. In Ruby I guess that would be values of true or nil. Any better suggestions, apart from using Set of course? -- Posted via http://www.ruby-forum.com/.