diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-05-26 12:27:47 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-05-26 12:27:47 +0000 |
commit | c4a9c09d5b30a93b6241aff3c9915e33e4e41eeb (patch) | |
tree | 021616b02c99c2a1b05bb9bffaec786f052e2854 /sv.c | |
parent | 94a66813331bb98469ac6bbd2df0367b54b25a8e (diff) | |
download | perl-c4a9c09d5b30a93b6241aff3c9915e33e4e41eeb.tar.gz |
We know how big the global string table will be, so use that
information.
p4raw-id: //depot/perl@24583
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11703,7 +11703,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, /* create (a non-shared!) shared string table */ PL_strtab = newHV(); HvSHAREKEYS_off(PL_strtab); - hv_ksplit(PL_strtab, 512); + hv_ksplit(PL_strtab, HvTOTALKEYS(proto_perl->Istrtab)); ptr_table_store(PL_ptr_table, proto_perl->Istrtab, PL_strtab); PL_compiling = proto_perl->Icompiling; |