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:
83240b2
)
What's a backet?
author
Abhijit Menon-Sen
<ams@wiw.org>
Sat, 22 Sep 2001 12:04:28 +0000
(12:04 +0000)
committer
Abhijit Menon-Sen
<ams@wiw.org>
Sat, 22 Sep 2001 12:04:28 +0000
(12:04 +0000)
p4raw-id: //depot/perl@12127
dump.c
patch
|
blob
|
blame
|
history
diff --git
a/dump.c
b/dump.c
index
8bde2f5
..
509df79
100644
(file)
--- a/
dump.c
+++ b/
dump.c
@@
-1191,8
+1191,8
@@
Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
to the expected number needed for a random hash.
The total number of comparisons is equal to the sum of
- the squares of the number of entries in each b
a
cket.
- For a random hash of n keys into k b
a
ckets, the expected
+ the squares of the number of entries in each b
u
cket.
+ For a random hash of n keys into k b
u
ckets, the expected
value is
n + n(n-1)/2k
*/