summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-08-12 01:59:18 +0900
committerYukihiro Matsumoto <[email protected]>2012-08-12 01:59:18 +0900
commitc9fe903fe15e601900ec17ae40fe82b0d2dc4978 (patch)
tree29a4455e280dbc95d060dd2b18316566df49ffb3 /include/mrbconf.h
parent3fe4b6414f9daa33ec238cb3f32b53b2dddeabf4 (diff)
downloadmruby-c9fe903fe15e601900ec17ae40fe82b0d2dc4978.tar.gz
mruby-c9fe903fe15e601900ec17ae40fe82b0d2dc4978.zip
now segmented list can be used as instance variable tables by -DMRB_USE_IV_SEGLIST; we still need to measure the performance and memory consumption
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 20f49ec29..693e7da88 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -19,7 +19,10 @@
/* number of object per heap page */
//#define MRB_HEAP_PAGE_SIZE 1024
-/* initial size for IV khash */
+/* use segmented list for IV table */
+//#define MRB_USE_IV_SEGLIST
+
+/* initial size for IV khash; ignored when MRB_USE_IV_SEGLIST is set */
//#define MRB_IV_INITIAL_SIZE 8
/* default size of khash table bucket */