From: "Mauricio Fernández" Date: 2005-11-17T11:00:18+09:00 Subject: Re: Object#to_b On Thu, Nov 17, 2005 at 10:25:03AM +0900, Jeremy Kemper wrote: > On Nov 16, 2005, at 5:11 PM, Yukihiro Matsumoto wrote: > >In general, such attempt to define new false values is not worth the > >performance cost we all have to pay. > > I would not like new false values, but I would like to be able to proxy > the existing false values. Especially nil. > > What is the cost? A full method dispatch instead of an inlined test #define RTEST(v) (((VALUE)(v) & ~Qnil) != 0) -- Mauricio Fernandez