summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2012-07-31 16:47:53 +0900
committerMasaki Muranaka <[email protected]>2012-07-31 16:50:09 +0900
commit0cee3bb5317a220da7c123059a2c08daec288d30 (patch)
tree228ae8daab964394de08c0e0ed52c6657feed259 /include
parentbc7dc06c51a1566c7918b1992cb546e70d78c552 (diff)
downloadmruby-0cee3bb5317a220da7c123059a2c08daec288d30.tar.gz
mruby-0cee3bb5317a220da7c123059a2c08daec288d30.zip
POOL_ALIGNMENT POOL_PAGE_SIZE : Configurable parameters.
Diffstat (limited to 'include')
-rw-r--r--include/mrbconf.h6
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 */