summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2013-02-25 13:57:33 +0900
committerMasaki Muranaka <[email protected]>2013-02-25 13:59:20 +0900
commit6dda588503cb617536db8f4e871cad2b9292173f (patch)
tree485bf73d553cb727a144f602b111964bb1276657 /include/mrbconf.h
parent8a9026426e3355d8f0080df506855832b528c6a3 (diff)
downloadmruby-6dda588503cb617536db8f4e871cad2b9292173f.tar.gz
mruby-6dda588503cb617536db8f4e871cad2b9292173f.zip
Use MRB_IREP_ARRAY_INIT_SIZE macro. It should be configurable since it is possible to reduce RAM size.
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 472bd12cf..164e6554c 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -34,6 +34,9 @@
/* initial size for IV khash; ignored when MRB_USE_IV_SEGLIST is set */
//#define MRB_IVHASH_INIT_SIZE 8
+/* initial size for IREP array */
+//#define MRB_IREP_ARRAY_INIT_SIZE (256u)
+
/* default size of khash table bucket */
//#define KHASH_DEFAULT_SIZE 32