diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-31 01:34:19 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-31 01:34:19 +0000 |
commit | 8125399c09ae3c5e433fd285326ed38d85bda891 (patch) | |
tree | 892a5b673d1e4d1fd48579ae5289e8de31e9967a /st.c | |
parent | a92374677c683e78ba24013c6c7d60bf133e0c26 (diff) |
st.c (st_init_table_with_size): update comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |