Re: A truth? patch + benchmarks

From: matz@... (Yukihiro Matsumoto)
Date: 2002-08-01 07:02:56 UTC
List: ruby-core #284
Hi,

In message "RE: A truth? patch  + benchmarks"
    on 02/08/01, "Christoph" <chr_news@gmx.net> writes:

|>  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?

Unfortunately, there's no bit available for all objects.  All flag
bits are used to represent NODEs' line number.

By the way, I still don't know why the inlined function is faster than
the simple macro.  Does anybody reveal the secret for me?

							matz.

In This Thread