From: Han Holl Date: 2002-06-09T23:22:53+09:00 Subject: Re: Hash#===() Han Holl wrote: > > Hi, > > I ran the following benchmark: > > require 'benchmark' > include Benchmark > > class Hash > def ===(a) > has_key?(a) > end > end Of course class Hash alias === has_key? end is even faster. ppp 0.180000 0.000000 0.180000 ( 0.178967) Han