From: Joel VanderWerf Date: 2009-09-11T03:04:04+09:00 Subject: Re: What’s the best general implementation of custom #hash methods? Shot (Piotr Szotkowski) wrote: > Hello, ruby-talk. > > What�s the best (fast, yet with relatively few cases when equal hashes > are generated for non-eql objects) way to implement a hash method? One way is to just put everything you care about into an array and hash that, as in: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/230421 But it might not qualify as "fast", I suppose. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407