From 1e009061f8a4b051e363ac8b8854e73308bd56c5 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 28 Jan 2021 15:47:51 +0900 Subject: Describe disabling preallocated symbols in the doc. --- doc/mruby3.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/mruby3.md') 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()`). -- cgit v1.2.3