summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/mrbconf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index eb2d69187..c4f6f38cd 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -31,6 +31,11 @@
/* exclude floating point numbers */
//#define MRB_WITHOUT_FLOAT
+/* add -DMRB_METHOD_CACHE to use method cache to improve performance */
+//#define MRB_METHOD_CACHE
+/* size of the method cache (need to be the power of 2) */
+//#define MRB_METHOD_CACHE_SIZE (1<<7)
+
/* add -DMRB_INT16 to use 16bit integer for mrb_int; conflict with MRB_INT64 */
//#define MRB_INT16