This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94a6681
)
We know how big the global string table will be, so use that
author
Nicholas Clark
<nick@ccl4.org>
Thu, 26 May 2005 12:27:47 +0000
(12:27 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Thu, 26 May 2005 12:27:47 +0000
(12:27 +0000)
information.
p4raw-id: //depot/perl@24583
sv.c
patch
|
blob
|
blame
|
history
diff --git
a/sv.c
b/sv.c
index
74c05c8
..
297ddbe
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-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;