savepv(SvPV(sv,n_a)) is common, and creates an unnecessary call to
authorNicholas Clark <nick@ccl4.org>
Sun, 9 Jan 2005 21:26:40 +0000 (21:26 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 9 Jan 2005 21:26:40 +0000 (21:26 +0000)
commit2e0de35c58680e1e008b1d014c5b9ccec5b78282
treeca49feb20f6ec1dffdbc11370070a0173467afe2
parent8a7a129d01690124356e6e97ab81becf500e68af
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.

p4raw-id: //depot/perl@23772
embed.fnc
embed.h
global.sym
mg.c
pp_sys.c
proto.h
regcomp.c
universal.c
util.c