summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-05-03 08:28:24 -0600
committerKarl Williamson <khw@cpan.org>2022-05-10 20:48:57 -0600
commit6a0ca5a01d0573abb5b6e5ea7e581dc93d75f11b (patch)
tree9d077f622efb2d08c1c59591b5923bd62b5586e2 /hv.h
parenta01c9670e64176df28f303084cb8aad1d1a69340 (diff)
downloadperl-6a0ca5a01d0573abb5b6e5ea7e581dc93d75f11b.tar.gz
perlintern: Make hv_fill internal, HvFILL its API
HvFILL wraps hv_fill, with appropriate casting, so should be preferred.
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/hv.h b/hv.h
index 2c5e796d9b..82e9c83396 100644
--- a/hv.h
+++ b/hv.h
@@ -269,7 +269,13 @@ C<SV*>.
=for apidoc Am|STRLEN|HvFILL|HV *const hv
-See L</hv_fill>.
+Returns the number of hash buckets that happen to be in use.
+
+As of perl 5.25 this function is used only for debugging
+purposes, and the number of used hash buckets is not
+in any way cached, thus this function can be costly
+to execute as it must iterate over all the buckets in the
+hash.
=cut