diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-11-20 06:04:27 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-11-20 06:04:27 +0900 |
| commit | 6c06e77446f3cca4a92b3df8d0a5fe568c5fdc65 (patch) | |
| tree | 966833b6f59ec7400416ae3d347e70c7260160ea /include/mrbconf.h | |
| parent | 6a9efd68491a4340d990dedfd22de46ea2b3db45 (diff) | |
| download | mruby-6c06e77446f3cca4a92b3df8d0a5fe568c5fdc65.tar.gz mruby-6c06e77446f3cca4a92b3df8d0a5fe568c5fdc65.zip | |
Add `MRB_METHOD_CACHE` description to `include/mrbconf.h`
Diffstat (limited to 'include/mrbconf.h')
| -rw-r--r-- | include/mrbconf.h | 5 |
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 |
