From: Christoph Date: 2002-08-01T15:39:31+09:00 Subject: RE: A truth? patch + benchmarks > -----Original Message----- > From: ts [mailto:decoux@moulon.inra.fr] > Sent: Wednesday, July 31, 2002 5:04 PM > To: ruby-core@ruby-lang.org > Cc: ruby-core@ruby-lang.org > Subject: Re: A truth? patch + benchmarks > > >>>>> "C" == Christoph writes: > > C> I also cooked up simple minded an implementation. It is based on > C> a FL_FALSE flag (I defined it to be 1<<5 not sure if this can > C> case any problem?) similar to the frozen or tainted flags - that > C> is I added there methods (the method names ain't great ..) > > Not really sure but the values < 64 reserved for T_MASK > > #define T_NIL 0x01 > #define T_OBJECT 0x02 > [etc] > #define T_NODE 0x3f > > #define T_MASK 0x3f Hm, what about using FL_USER7? More generally, is there any unused flag left? /Christoph