mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
class.c: increase first allocated page size.
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user