Storing PL_sv_yes over itself is as cheap as calling hv_exists(), so
authorNicholas Clark <nick@ccl4.org>
Sat, 21 Apr 2007 10:28:59 +0000 (10:28 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 21 Apr 2007 10:28:59 +0000 (10:28 +0000)
commit25270bc0b7409c7dbdeef1a6ec0b548e2d3e51a1
treecba7b92168e92c429141525d382448f518cddaad
parentffd8da72f02e9178eeed2a66475befd5efc83eb4
Storing PL_sv_yes over itself is as cheap as calling hv_exists(), so
always store it, to save the (second) store call. SvIVx is more
expensive than SvIVX, so use the latter. Reorder the other call to
hv_store() to be immediately after the call to hv_exists(), to try to
avoid thrashing the CPU cache.

p4raw-id: //depot/perl@31009
mro.c