From 16a224e25d296e55bc9e1ccf8e27de5562224523 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 8 Oct 2022 20:46:35 +0900 Subject: [PATCH] mrbconf.h: add `MRB_USE_INLINE_METHOD_CACHE` option description. Currently it does not improve the performance (yet). --- include/mrbconf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/mrbconf.h b/include/mrbconf.h index 0f8aba9f7..1629a5c45 100644 --- a/include/mrbconf.h +++ b/include/mrbconf.h @@ -46,6 +46,7 @@ //#define MRB_NO_METHOD_CACHE /* size of the method cache (need to be the power of 2) */ //#define MRB_METHOD_CACHE_SIZE (1<<8) +//#define MRB_USE_INLINE_METHOD_CACHE /* add -DMRB_USE_METHOD_T_STRUCT on machines that use higher bits of function pointers */ /* no MRB_USE_METHOD_T_STRUCT requires highest 2 bits of function pointers to be zero */