summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-18 16:33:41 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-18 16:33:41 +0000
commit6f51351dc430b1cdbea64b49a24a0fc68a028a36 (patch)
treea2e7414a67d2bd312e05b16f3fe1c792adfe925e /hv.h
parent8b4f5e176a26235e99161210aebb1bc0073474cd (diff)
downloadperl-6f51351dc430b1cdbea64b49a24a0fc68a028a36.tar.gz
Squeeze a little more savings by moving pte and he arenas into the
common arena free code. p4raw-id: //depot/perl@24895
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hv.h b/hv.h
index 6378a02f3b..fc5bcdeb9b 100644
--- a/hv.h
+++ b/hv.h
@@ -14,6 +14,9 @@ typedef struct hek HEK;
/* entry in hash value chain */
struct he {
+ /* Keep hent_next first in this structure, because sv_free_arenas take
+ advantage of this to share code between the he arenas and the SV
+ body arenas */
HE *hent_next; /* next entry in chain */
HEK *hent_hek; /* hash key */
SV *hent_val; /* scalar value that was hashed */