[#144] Another implementation of Bignum — "Dmitry Antipov" <dmitry.antipov@...>

Hello Ruby hackers,

15 messages 2002/06/06

Re: possible bug: stack dump with <<-String, #{...} and large loops

From: ts <decoux@...>
Date: 2002-06-06 08:58:01 UTC
List: ruby-core #143
>>>>> "n" == nobu nokada <nobu.nokada@softhome.net> writes:

n> Tried separating flips into 2 kinds, ...but ugly...

 Not yet completely look at it (I prefer wait), but if I'm right you
 don't need 2 flips, you can write (I think)

       if (compile_for_eval) {
           node->nd_cnt = internal_id();
       }
       else {
           node->nd_cnt = local_append(internal_id());
       }

  ...

   NODE_FLIP2:
   {
     VALUE *flip = rb_svar(node->nd_cnt);
     if (!flip) flip = dvar_flip(node->nd_cnt);



Guy Decoux

In This Thread