diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-05-06 13:11:54 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-05-06 13:11:54 +0000 |
commit | 1e8b957a812d4c5fc1c3531f8d649afc13410b56 (patch) | |
tree | 0ed3b2cc8657c747cf2d70417bd82892e5a64e45 /hv.c | |
parent | cedf83e7a0763513fe2e7475853a64f861e11586 (diff) | |
download | perl-1e8b957a812d4c5fc1c3531f8d649afc13410b56.tar.gz |
Make the arena size changeable at compile time, and up the default by
a factor of 4.
p4raw-id: //depot/perl@24405
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -61,12 +61,12 @@ S_more_he(pTHX) register HE* he; register HE* heend; XPV *ptr; - New(54, ptr, 1008/sizeof(XPV), XPV); + New(54, ptr, PERL_ARENA_SIZE/sizeof(XPV), XPV); ptr->xpv_pv = (char*)PL_he_arenaroot; PL_he_arenaroot = ptr; he = (HE*)ptr; - heend = &he[1008 / sizeof(HE) - 1]; + heend = &he[PERL_ARENA_SIZE / sizeof(HE) - 1]; PL_he_root = ++he; while (he < heend) { HeNEXT(he) = (HE*)(he + 1); |