From: daz Date: 2004-07-03T17:47:45+09:00 Subject: Re: slow method searching? David Garamond wrote: > > > > b) the default method_missing doesn't use inspect, instead just print > "#<#{o.class}:#{o.id.to_s(16)}>". > > Btw, it's not o.id actually, what is it? > ## 2 * id o = Object.new oid = o.object_id puts (oid ).to_s(16) #-> 183e26a puts (oid << 1).to_s(16) #-> 307c4d4 p o #-> # I guess it runs through some fixnum conversion code but it's not broken by it, so why change it :-? daz