From 786156d48c2b8a03f5ab20a1fc15207976e390ee Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 11 Dec 2021 18:46:07 +0900 Subject: class.c: increase first allocated page size. --- src/class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class.c b/src/class.c index 90baa05eb..76a9dadf3 100644 --- a/src/class.c +++ b/src/class.c @@ -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); -- cgit v1.2.3