diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-09-11 20:22:57 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-09-11 20:22:57 -0700 |
commit | 8de476573990fa8cc938a6ad450e0fb337234ff4 (patch) | |
tree | ea3fa982289f1d318df235be044c88dcd3645e03 /cv.h | |
parent | 9ef8d5694201d933f4a61efde1fac904a29f55de (diff) | |
download | perl-8de476573990fa8cc938a6ad450e0fb337234ff4.tar.gz |
Unify CvDEPTH for formats and subs
As Dave Mitchell pointed out, while putting the CvDEPTH field for for-
mats in the SvCUR slot might save memory for formats, it slows down
sub calls because CvDEPTH is used on subs in very hot code paths.
Checking the SvTYPE to determine which field to use should not be
necessary.
Diffstat (limited to 'cv.h')
-rw-r--r-- | cv.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -13,7 +13,6 @@ struct xpvcv { _XPV_HEAD; _XPVCV_COMMON; - I32 xcv_depth; /* >= 2 indicates recursive call */ }; /* |