used_buckets#
Return the count of buckets that currently hold at least one key.
Synopsis#
my $used = used_buckets(%hash);
The value is computed from scratch on every call by walking the bucket array - there is no cache. Avoid calling it inside a hot loop on a large hash.