Make HvFILL() count the allocated buckets, instead of reading a stored value.
authorNicholas Clark <nick@ccl4.org>
Sun, 24 Jan 2010 15:07:50 +0000 (15:07 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 21 May 2010 17:56:25 +0000 (18:56 +0100)
commit4d0fbddde6c5dcb972786d09de0cab6e93056b88
tree5a8c733a77dcda54b0b5e7c184bc1dbfd28ecd3e
parentf4431c56525a8650559872ff19c75f109a5d1190
Make HvFILL() count the allocated buckets, instead of reading a stored value.

Add a function Perl_hv_fill to perform the count. This will save 1 IV per hash,
and on some systems cause struct xpvhv to become cache aligned.
embed.fnc
global.sym
hv.c
hv.h
perl.c
proto.h
sv.c