24fcb59fc optimised substr assignment in void context down to four-arg
substr, causing considerable speed-up, but did not take the extra step
of marking the substr op itself as being in void context, so pp_substr
was still constructing a return value. This commit speed things up
just a tiny bit more.
cBINOPx(left)->op_first->op_sibling;
cBINOPx(left)->op_first->op_sibling = right;
left->op_private |= OPpSUBSTR_REPL_FIRST;
+ left->op_flags =
+ (o->op_flags & ~OPf_WANT) | OPf_WANT_VOID;
}
}
}