Closed zanyou closed 5 years ago
@charsbar Could you review this PR?
@zanyou, @skaji MEXTEND is not a public perl api (that means, it's not listed in Devel::PPPort and perldoc perlapi
shows no entry for it), though it's been defined and used in the Perl core at least since Perl 5.004. If this PR can be rewritten with dORIGMARK, ORIGMARK, and MARK without notable penalty, I assume that would be better because they are public apis. Otherwise, it looks good to me.
@zanyou @charsbar Thanks! Released https://metacpan.org/release/SKAJI/Text-Xslate-v3.5.7
related to #199. When dealing with long arrays (about 123 elements),
EXTEND()
macro changesSP
butMARK
hasn't changed. Causes segfault becauseMARK
keeps pointing to the old stack.MEXTEND ()
do Same thing asEXTEND ()
, but update mark register too.