mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Explain MRB_USE_MALLOC_TRIM; ref #5069
This commit is contained in:
@@ -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++`.
|
||||
|
||||
@@ -101,6 +101,9 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* call malloc_trim(0) from mrb_full_gc() */
|
||||
//#define MRB_USE_MALLOC_TRIM
|
||||
|
||||
/* string class to handle UTF-8 encoding */
|
||||
//#define MRB_UTF8_STRING
|
||||
|
||||
|
||||
Reference in New Issue
Block a user