diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-02-25 15:38:25 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-02-25 15:38:25 +0000 |
commit | 584307902de552f84517013f42d1db478f4102bd (patch) | |
tree | 5c30770d078b412e7ced2d07b3444c7ead5ee1a4 /hv.h | |
parent | 27bd069fdd0f917015e698e36bfc41a29daa63be (diff) | |
download | perl-584307902de552f84517013f42d1db478f4102bd.tar.gz |
xgv_stash can be stored as a union with the NV, reducing the size of
PVGVs by another pointer.
p4raw-id: //depot/perl@27326
Diffstat (limited to 'hv.h')
-rw-r--r-- | hv.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -49,7 +49,10 @@ struct xpvhv_aux { /* hash structure: */ /* This structure must match the beginning of struct xpvmg in sv.h. */ struct xpvhv { - NV xnv_nv; /* numeric value, if any */ + union { + NV xnv_nv; /* numeric value, if any */ + HV * xgv_stash; + } xnv_u; STRLEN xhv_fill; /* how full xhv_array currently is */ STRLEN xhv_max; /* subscript of last element of xhv_array */ union { |