From: nobu.nokada@... Date: 2002-08-05T10:44:29+09:00 Subject: Re: A truth? patch + benchmarks Hi, At Mon, 5 Aug 2002 09:58:11 +0900, Christoph wrote: > If the ``magic'' is referring to my observed speedup of replacing > most RTEST macro calls with an inlined function call (at least on > my windows machine this effect seems to be real), I really have > to pass (besides making uneducated guesses) but I tend to think that > this "compilation optimization artifact" is wedded to the current > implementation (putting things in perspective, changing from VC6 to > VC7 has an even bigger impact on speed). It's true with gcc 2.95.3 under i686-linux. > Just been curious (and pushy;-). I counted 26 ``T_VALUES'' in ruby.h, > so from my naive point of view it might be possible (after > rearranging the ``T_VALUES'' a bit, eehm, <= 31) to free up the sixth > bit as a false/true bit. Of course, I tried this and did not see any > obvious ill effect (running ``make test'' and ``rubicon'' on cygwin) > - I guess that's what they call wishful thinking;-). The modification means that *all* extension libraries must be recompiled. Particularly, many extensions use T_DATA which is bigger than 31. I guess it shouldn't be until (at least) minor version will change. -- Nobu Nakada