Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pp_aassign: optimise: just zero array stack elems
In PERL_RC_STACK builds, When passing ownership of a bunch of SVs on the stack to an array they've just been stored in, just zero out that section of the stack and shift first_discard downwards, rather than storing &PL_sv_undef in all the stack slots. This means that at the end, PL_stack_sp can be reset directly to the base of those elements rather than decrementing the ref count of &PL_sv_undef N times.
- Loading branch information