From 7f66e50ba2f71514da711a7927554956faea2f29 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Wed, 2 Sep 2020 08:41:55 +0900 Subject: Explain `MRB_USE_MALLOC_TRIM`; ref #5069 --- doc/mruby3.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/mruby3.md b/doc/mruby3.md index c8ec76937..ae6e674e5 100644 --- a/doc/mruby3.md +++ b/doc/mruby3.md @@ -96,6 +96,11 @@ does not fit in `Fixnum` integers. Pack `mrb_value` in a floating pointer number. Nothing changed from previous versions. +== `MRB_USE_MALLOC_TRIM` + +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. + = Internal Changes == `Random` now use `xoshiro128++`. -- cgit v1.2.3