This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_hv_fill(), count empty chains down, rather than used chains up.
authorNicholas Clark <nick@ccl4.org>
Sat, 13 Mar 2010 11:23:46 +0000 (11:23 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 21 May 2010 17:56:25 +0000 (18:56 +0100)
commitfcd24582e9751804a977b6d4ef227de5a3b0343b
tree342534eabb14b55cdcef48baa9e42fb8b443042a
parent359164a0b0ca9d7142b89ef0b09c1d01437e4471
Perl_hv_fill(), count empty chains down, rather than used chains up.

The assumption is that most chains of a hash are in use.

Suggestion and initial patch by Ruslan Zakirov.
hv.c