In perl.git, the branch smoke-me/prealloc_hvaux_for_big_hashes has been created
<http://perl5.git.perl.org/perl.git/commitdiff/b7ed81857144f23a28c73b7ead1f159519aff671?hp=0000000000000000000000000000000000000000> at b7ed81857144f23a28c73b7ead1f159519aff671 (commit) - Log ----------------------------------------------------------------- commit b7ed81857144f23a28c73b7ead1f159519aff671 Author: Yves Orton <[email protected]> Date: Sat Mar 1 17:31:53 2014 +0100 Preallocate HvAUX() structures for large bucket arrays The assumption is that the time/space tradeoff of not allocating the HvAUX() structure goes away for a large bucket array where the size of the allocated buffer is much larger than the nonallocated HvAUX() "extension". This should make keys() and each() on larger hashes faster, but still preserve the essence of the original space conservation, where the assumption is a lot of small hash based objects which will never be traversed. M hv.c M hv.h commit 8652a10d3e805a05d3ef3d21c7ca3503e371e67a Author: Yves Orton <[email protected]> Date: Sat Mar 1 15:49:28 2014 +0100 Split out part of hv_auxinit() so it can be reused Changes nothing except that it introduces hv_auxinit_interal() which does part of the job of hv_auxinit(), so that we can call it from somewhere else in the next commit. M embed.fnc M embed.h M hv.c M proto.h ----------------------------------------------------------------------- -- Perl5 Master Repository
