mange arena_idx smarter for smaller ARENA_SIZE; now default to 100 from 1024

This commit is contained in:
Yukihiro Matz Matsumoto
2012-12-07 16:58:50 +09:00
parent f486774352
commit f1ed143624
5 changed files with 76 additions and 81 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ struct mrb_state;
typedef void* (*mrb_allocf) (struct mrb_state *mrb, void*, size_t, void *ud);
#ifndef MRB_ARENA_SIZE
#define MRB_ARENA_SIZE 1024
#define MRB_ARENA_SIZE 100
#endif
typedef struct {