summaryrefslogtreecommitdiff
path: root/av.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-25 15:38:25 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-25 15:38:25 +0000
commit584307902de552f84517013f42d1db478f4102bd (patch)
tree5c30770d078b412e7ced2d07b3444c7ead5ee1a4 /av.h
parent27bd069fdd0f917015e698e36bfc41a29daa63be (diff)
downloadperl-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 'av.h')
-rw-r--r--av.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/av.h b/av.h
index 61a01f0896..94cd82bf98 100644
--- a/av.h
+++ b/av.h
@@ -9,7 +9,10 @@
*/
struct xpvav {
- NV xnv_nv; /* numeric value, if any */
+ union {
+ NV xnv_nv; /* numeric value, if any */
+ HV * xgv_stash;
+ } xnv_u;
SSize_t xav_fill; /* Index of last element present */
SSize_t xav_max; /* max index for which array has space */
union {