This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate:
authorNicholas Clark <nick@ccl4.org>
Wed, 19 Jan 2005 23:25:41 +0000 (23:25 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 19 Jan 2005 23:25:41 +0000 (23:25 +0000)
commit04851bb3e1ec234a7d24a04e399b317d651ec875
tree4f4718bf73412b7ec5bb1344ec8c4c7808e06072
parent048e79d56099a941c7d4926dfae82f122f481392
Integrate:
[ 23745]
Make the switch statement discriminate similar names more
efficiently.

[ 23771]
Can pass in a length here without introducing a bug. Might save
a strlen()

[ 23772]
savepv(SvPV(sv,n_a)) is common, and creates an unnecessary call to
strlen(). Add savesvpv(sv), which gets the length from the SV,
and returns a copy of its PV.

[ 23774]
Shorter source code in pp_gelem. (But it compiles to the same size)

[ 23795]
replace NEWSV(), SvSetSV() with newSVsv()

[ 23796]
sv_2mortal(NEWSV(0,0)) better written as sv_newmortal()

[ 23798]
sv_catpvf holds no advantage over sv_catpv when the "pattern" isn't.

[ 23799]
SvUTF8_off() in do_join can be unconditional.

[ 23801]
A terser way to write the \-ing code in pv_uni_display
Plus drive-by insert of a more correct editor block. (thanks Dave)
p4raw-link: @23801 on //depot/perl: a49f32c6aec58b86430c14d88cf6d1daab9dea7e
p4raw-link: @23799 on //depot/perl: fb622db0657a53699cb72fa7e5cdf67e58366454
p4raw-link: @23798 on //depot/perl: 54667de8ae602ad3606b45ba6b72a2519d132842
p4raw-link: @23796 on //depot/perl: 243b1711e6dba4a348cef9fff90e6aa6a8a4d0ea
p4raw-link: @23795 on //depot/perl: f2b990bf33ddc9a2c27b053bb94a963bce0c09ce
p4raw-link: @23774 on //depot/perl: af2250df3612234f2fb1be95c7e91920e7cd92f7
p4raw-link: @23772 on //depot/perl: 2e0de35c58680e1e008b1d014c5b9ccec5b78282
p4raw-link: @23771 on //depot/perl: 8a7a129d01690124356e6e97ab81becf500e68af
p4raw-link: @23745 on //depot/perl: 8cad210e12216ccddc97072654425cc8a94696ff

p4raw-id: //depot/maint-5.8/perl@23829
p4raw-integrated: from //depot/perl@23828 'edit in' util.c (@23725..)
'ignore' toke.c (@23795..) 'merge in' doop.c (@23176..)
regexec.c (@23482..) op.c (@23766..) mg.c (@23767..)
p4raw-integrated: from //depot/perl@23801 'edit in' utf8.c (@23798..)
p4raw-integrated: from //depot/perl@23795 'merge in' pp_hot.c pp_sort.c
scope.c (@23789..)
p4raw-integrated: from //depot/perl@23774 'edit in' pp.c (@23766..)
p4raw-integrated: from //depot/perl@23772 'edit in' regcomp.c
(@23520..) 'merge in' embed.fnc embed.h global.sym proto.h
(@23766..) pp_sys.c (@23767..)
p4raw-integrated: from //depot/perl@23745 'edit in' xsutils.c
(@23744..)
18 files changed:
doop.c
embed.fnc
embed.h
global.sym
mg.c
op.c
pp.c
pp_hot.c
pp_sort.c
pp_sys.c
proto.h
regcomp.c
regexec.c
scope.c
toke.c
utf8.c
util.c
xsutils.c