Where possible, use SvIV instead of SvIVX, SvNV instead of SvNVX,
authorNicholas Clark <nick@ccl4.org>
Sat, 21 Apr 2007 11:42:43 +0000 (11:42 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 21 Apr 2007 11:42:43 +0000 (11:42 +0000)
commit4ea561bc94841f378b6950ed75b669dc60767dfa
tree7a76995aa0b9fd27756ad182df7d997dd06c953c
parent25270bc0b7409c7dbdeef1a6ec0b548e2d3e51a1
Where possible, use SvIV instead of SvIVX, SvNV instead of SvNVX,
SvUV instead of SvUVX, and SvPV* variants instead of SvPVX*.
Document that the non-x variants are preferable whenever the expression
has no side effects. (Compilers perform common subexression
elimination). Likewise SvREFCNT_inc simple variants are valid for all
cases apart from expressions with side effects.

p4raw-id: //depot/perl@31010
doio.c
op.c
pod/perlapi.pod
pp.c
pp_ctl.c
pp_sys.c
sv.c
sv.h