[#290] — Florian Frank <flori@...>
Hi all,
5 messages
2002/08/03
[#297] GC longjmp macros — Michal Rokos <m.rokos@...>
Hi,
5 messages
2002/08/05
[#308] Q: OSSL in std. distr? — Michal Rokos <m.rokos@...>
Hi,
4 messages
2002/08/08
[#326] Implications of a #force_free method in Object? — Matthew Bloch <mattbee@...>
Hello;
8 messages
2002/08/19
[#328] Int vs Long — Michal Rokos <m.rokos@...>
Hi,
7 messages
2002/08/21
[#337] Int vs Long (2nd part) — Michal Rokos <m.rokos@...>
Hi,
7 messages
2002/08/22
[#340] Int vs Long #3 — Michal Rokos <m.rokos@...>
Hi,
9 messages
2002/08/22
[#344] Re: [Cleanup] Int vs Long #3
— nobu.nokada@...
2002/08/22
Hi,
[#348] Re: [Cleanup] Int vs Long #3
— Michal Rokos <m.rokos@...>
2002/08/23
Hello,
[#353] File (struct stat handling) — Michal Rokos <m.rokos@...>
Hello,
6 messages
2002/08/23
[#358] node.h for eval.c — Michal Rokos <m.rokos@...>
Hi,
5 messages
2002/08/23
[#372] rb_class_path — Michal Rokos <m.rokos@...>
Hello,
7 messages
2002/08/27
[#382] Port match to new dup, clone framework — Michal Rokos <m.rokos@...>
Hi,
5 messages
2002/08/28
[#393] in dln.c — Michal Rokos <m.rokos@...>
Hi,
14 messages
2002/08/30
[#398] Re: [MemLeak] in dln.c
— nobu.nokada@...
2002/08/31
Hi,
[#403] Re: [MemLeak] in dln.c
— Michal Rokos <m.rokos@...>
2002/09/02
Hello,
RE: A truth? patch + benchmarks
From:
"Christoph" <chr_news@...>
Date:
2002-08-05 00:58:11 UTC
List:
ruby-core #294
> From: Yukihiro Matsumoto ... > |> Unfortunately, there's no bit available for all objects. All flag > |> bits are used to represent NODEs' line number. > | > |To bad ... but maybe we might see something like it in 2.0? (or > |even better body smatter cooks something up for the current > |development line - maybe only replace the RTEST calls in the > |crucial IF_NODE, WHILE_NODE ... part?) > > If it is really efficient, I think we can reserve a bit ot two for One bit should be enough. My tests indicate that for the current Implementation this would have been efficient, but I obviously can only guess, how this or a similar scheme, would fair in an interpreter rewrite. > it. But I want to know the secret of this magic. Actually, I am not quite sure to what ``magic'' you are referring to (which only seems fair, since my emails are usually incomprehensible;-). 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). 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;-). My question is, what did I overlook this time? /Christoph