Skip to content

Commit

Permalink
Speedup of valuator: t+
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Kegler committed Feb 8, 2013
1 parent 3668a20 commit 8260ea9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions r2/xs/R2.xs
Expand Up @@ -2390,24 +2390,23 @@ PPCODE:
}

op_ix = 0;
done = 0;
while (!done)
while (1)
{
UV op_code = nulling_ops[op_ix++];

switch (op_code)
{

case 0:
done = 1;
break;
goto NEXT_STEP;
/* NOT REACHED */

case op_result_is_undef:
{
av_fill (stack, -1 + result_stack_ix);
done = 1;
goto NEXT_STEP;
}
break;
/* NOT REACHED */

case op_callback:
{
Expand All @@ -2424,6 +2423,7 @@ PPCODE:
}
}

/* NOT REACHED */
goto NEXT_STEP;
}

Expand Down

0 comments on commit 8260ea9

Please sign in to comment.