summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-08-08 21:42:20 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-08-08 21:42:20 +0900
commit1e87bf6d2f5a03413ef0c9322e6a7f42d89c443f (patch)
treecbb22cb5159334c65df447011e79cf32033bf671 /include
parent3b2b760ed3f67cd0e1400df50becaffb7a75a1cd (diff)
downloadmruby-1e87bf6d2f5a03413ef0c9322e6a7f42d89c443f.tar.gz
mruby-1e87bf6d2f5a03413ef0c9322e6a7f42d89c443f.zip
allow turning off GC generational mode by default by MRB_GC_TURN_OFF_GENERATIONAL; #1447
Diffstat (limited to 'include')
-rw-r--r--include/mrbconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 57148d428..a10a1d04e 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -41,6 +41,9 @@
/* initial size for IREP array */
//#define MRB_IREP_ARRAY_INIT_SIZE (256u)
+/* turn off generational GC by default */
+//#define MRB_GC_TURN_OFF_GENERATIONAL
+
/* default size of khash table bucket */
//#define KHASH_DEFAULT_SIZE 32