class.c: increase first allocated page size.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-12-11 18:46:07 +09:00
parent bd4268210e
commit 786156d48c
+1 -1
View File
@@ -62,7 +62,7 @@ static void
mt_rehash(mrb_state *mrb, mt_tbl *t)
{
size_t old_alloc = t->alloc;
size_t new_alloc = old_alloc+1;
size_t new_alloc = old_alloc+8;
struct mt_elem *old_table = t->table;
khash_power2(new_alloc);