This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/unicode_constants.pl: Update to use EBCDIC utilities
[perl5.git] / hv.h
diff --git a/hv.h b/hv.h
index 8ff1d14..95dde46 100644 (file)
--- a/hv.h
+++ b/hv.h
@@ -214,7 +214,7 @@ If you are using C<HePV> to get values to pass to C<newSVpvn()> to create a
 new SV, you should consider using C<newSVhek(HeKEY_hek(he))> as it is more
 efficient.
 
-=for apidoc Am|char*|HeUTF8|HE* he
+=for apidoc Am|U32|HeUTF8|HE* he
 Returns whether the C<char *> value returned by C<HePV> is encoded in UTF-8,
 doing any necessary dereferencing of possibly C<SV*> keys.  The value returned
 will be 0 or non-0, not necessarily 1 (or even a value with any low bits set),
@@ -238,7 +238,9 @@ C<SV*>.
 */
 
 #define PERL_HASH_DEFAULT_HvMAX 7
-/* HvMAX(hv)+1 is >= to this we preallocate the HvAUX() struct during hsplit()
+
+/* During hsplit(), if HvMAX(hv)+1 (the new bucket count) is >= this value,
+ * we preallocate the HvAUX() struct.
  * The assumption being that we are using so much space anyway we might
  * as well allocate the extra bytes and speed up later keys()
  * or each() operations. We don't do this to small hashes as we assume