diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-12-29 11:22:55 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-12-29 11:22:55 +0000 |
commit | 9e1694326ed89111b35daf7589dacbe10253cdcd (patch) | |
tree | f693d078b3dc2967697a8c128302fa8d81d3741c | |
parent | 01c2a33d9c8801c319aa999a05dc0d7812571930 (diff) | |
download | perl-9e1694326ed89111b35daf7589dacbe10253cdcd.tar.gz |
PL_registered_mros can start with 1 hash bucket, as it will probably never
contain more than "dfs", and even if C3 is loaded, 2 buckets are less than the
default of 8.
-rw-r--r-- | perl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -462,6 +462,8 @@ perl_construct(pTHXx) #endif PL_registered_mros = newHV(); + /* Start with 1 bucket, for DFS. It's unlikely we'll need more. */ + HvMAX(PL_registered_mros) = 0; ENTER; } |