diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-03-31 23:15:15 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-03-31 23:15:15 +0000 |
commit | 9bd878171021311bd025e403714388c68ff5d9e2 (patch) | |
tree | 230642a1528afc0c53aed7a66102b21d48a036f0 /hv.h | |
parent | b1225a1b471182e0a875e14b76da023a738eea62 (diff) | |
download | perl-9bd878171021311bd025e403714388c68ff5d9e2.tar.gz |
Rearrange members of structures to reduce memory size on some
platforms. On LP64 structs stackinfo, refcounted_he, and magic shrink
by 8 bytes, struct yy_parser by 16.
p4raw-id: //depot/perl@30817
Diffstat (limited to 'hv.h')
-rw-r--r-- | hv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -403,13 +403,13 @@ struct refcounted_he { #else HEK *refcounted_he_hek; /* hint key */ #endif - U32 refcounted_he_refcnt; /* reference count */ union { IV refcounted_he_u_iv; UV refcounted_he_u_uv; STRLEN refcounted_he_u_len; void *refcounted_he_u_ptr; /* Might be useful in future */ } refcounted_he_val; + U32 refcounted_he_refcnt; /* reference count */ /* First byte is flags. Then NUL-terminated value. Then for ithreads, non-NUL terminated key. */ char refcounted_he_data[1]; |