From: nobu.nokada@... Date: 2005-08-21T09:36:34+09:00 Subject: Re: Wandering in the Wilderness Project Hi, At Sun, 21 Aug 2005 02:57:18 +0900, Charles E. Thornton wrote in [ruby-core:05584]: > 2) 'special_generic_ivar' - a) Is this to trigger Garbage Collection > > ONLY for Special Constant Values? > - b) If it is - Is it because there is no real > object in Object Space to trigger GC? Yes. > bb) SPECIAL_CONST_P(obj) returns TRUE if > > ( IMMEDIATE_P(obj) || !RTEST(obj) ) is TRUE > > IMMEDIATE_P(obj) is TRUE if ( (obj) & 03 ) is non-zero > > !RTEST(obj) is TRUE if obj = is not QNIL & is not QFALSE No, it's logic of RTEST(obj). Inverted in SPECIAL_CONST_P(). -- Nobu Nakada