projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
01c2a33
)
PL_registered_mros can start with 1 hash bucket, as it will probably never
Nicholas Clark [Mon, 29 Dec 2008 11:22:55 +0000 (11:22 +0000)]
contain more than "dfs", and even if C3 is loaded, 2 buckets are less than the
default of 8.
perl.c
patch
|
blob
|
blame
|
history
diff --git
a/perl.c
b/perl.c
index
27aff77
..
7c5da00
100644
(file)
--- a/
perl.c
+++ b/
perl.c
@@
-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;
}