summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hv.h b/hv.h
index 8ff1d140f3..062871b732 100644
--- a/hv.h
+++ b/hv.h
@@ -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