aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 5a0b62a664..ccf22eef4d 100644
--- a/st.c
+++ b/st.c
@@ -201,7 +201,7 @@ st_init_table_with_size(const struct st_hash_type *type, st_index_t size)
size = ST_DEFAULT_PACKED_TABLE_SIZE;
}
else {
- size = new_size(size); /* round up to prime number */
+ size = new_size(size); /* round up to power-of-two */
}
tbl->num_bins = size;
tbl->bins = st_alloc_bins(size);