This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move more X's off the PUSH into EXTEND's
authorSteffen Mueller <smueller@cpan.org>
Mon, 22 Oct 2012 18:56:45 +0000 (20:56 +0200)
committerSteffen Mueller <smueller@cpan.org>
Mon, 22 Oct 2012 18:56:45 +0000 (20:56 +0200)
commit2102d7a2adc27f86a21271a4721de2799b5158a0
treea0ad9894b9a21ac7ce25f1b6fe50590f362c187b
parent855ea7c74bf7bb29e7655147ec501fcdb53b07cd
Move more X's off the PUSH into EXTEND's

Generally speaking, if there's branching and each branch may contain a
varying number of PUSH operations, EXTENDing to the longest number of
items should generally be more efficient since the stack will eventually
grow to a relatively steady state, but the extra branching incurred by
the X's will cost every time.
universal.c