summaryrefslogtreecommitdiffhomepage
path: root/doc/mruby3.md
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-01-28 15:47:51 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-01-28 15:47:51 +0900
commit1e009061f8a4b051e363ac8b8854e73308bd56c5 (patch)
tree6c5d0495d24103c6052478662b8f88db0b347cfe /doc/mruby3.md
parent4063af90e2964a1102b0608bab2c563c2010b79a (diff)
downloadmruby-1e009061f8a4b051e363ac8b8854e73308bd56c5.tar.gz
mruby-1e009061f8a4b051e363ac8b8854e73308bd56c5.zip
Describe disabling preallocated symbols in the doc.
Diffstat (limited to 'doc/mruby3.md')
-rw-r--r--doc/mruby3.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/mruby3.md b/doc/mruby3.md
index 26d95e3e4..5b38e3dfe 100644
--- a/doc/mruby3.md
+++ b/doc/mruby3.md
@@ -90,6 +90,10 @@ changed from previous versions.
Call `malloc_trim(0)` from mrb_full_gc() if this macro is defined.
If you are using glibc malloc, this macro could reduce memory consumption.
+## `MRB_NO_PRESYM`
+
+Remove preallocated symbol system.
+
# Command Line Program
## `bin/mruby` (by mrbgems/mruby-bin-mruby)
@@ -156,7 +160,7 @@ Jump addresses used to be specified by absolute offset from the start of `iseq`.
For better and faster random number generation.
-## Preallocated Symnol
+## Preallocated Symbol
Preallocated symbols are interned at compile-time. They can be accessed via symbols macros (e.g. `MRB_SYM()`).