From 6c06e77446f3cca4a92b3df8d0a5fe568c5fdc65 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 20 Nov 2017 06:04:27 +0900 Subject: Add `MRB_METHOD_CACHE` description to `include/mrbconf.h` --- include/mrbconf.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 -- cgit v1.2.3