diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-07-31 02:38:58 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-07-31 02:38:58 -0700 |
| commit | 954c33a854e61078e60ce21dfdc8befda6b8e81d (patch) | |
| tree | 91d18a298319ae58f2e0c665af1699e8386f6f04 /include | |
| parent | 0a4ec667c079c770ebdc61e7a4837b86c95a0f26 (diff) | |
| parent | 0cee3bb5317a220da7c123059a2c08daec288d30 (diff) | |
| download | mruby-954c33a854e61078e60ce21dfdc8befda6b8e81d.tar.gz mruby-954c33a854e61078e60ce21dfdc8befda6b8e81d.zip | |
Merge pull request #412 from monaka/pr-add-parameter-for-pool
POOL_ALIGNMENT POOL_PAGE_SIZE : Configurable parameters.
Diffstat (limited to 'include')
| -rw-r--r-- | include/mrbconf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h index 3d1e1757d..20f49ec29 100644 --- a/include/mrbconf.h +++ b/include/mrbconf.h @@ -25,6 +25,12 @@ /* default size of khash table bucket */ //#define KHASH_DEFAULT_SIZE 32 +/* allocated memory address alignment */ +//#define POOL_ALIGNMENT 4 + +/* page size of memory pool */ +//#define POOL_PAGE_SIZE 16000 + /* -DDISABLE_XXXX to drop the feature */ #define DISABLE_REGEXP /* regular expression classes */ //#define DISABLE_SPRINTF /* Kernel.sprintf method */ |
