Skip to content

Commit

Permalink
Merge pull request #6257 from jethrodaniel/tiny-mrbconf-doc-updates
Browse files Browse the repository at this point in the history
fix some mrbconf.md typos
  • Loading branch information
matz committed Apr 27, 2024
2 parents 598dca7 + b99536f commit 0989609
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/guides/mrbconf.md
Expand Up @@ -105,7 +105,7 @@ end

`MRB_GC_TURN_OFF_GENERATIONAL`

- When defined turns generational GC by default.
- When defined turns generational GC off by default.

`MRB_GC_FIXED_ARENA`

Expand All @@ -121,7 +121,7 @@ end

`MRB_HEAP_PAGE_SIZE`

- Defines value is `1024`.
- Default value is `1024`.
- Specifies number of `RBasic` per each heap page.
- To calculate the number of bytes per heap page, it is "(size of management data per heap page) + (size per object) \* `MRB_HEAP_PAGE_SIZE`".
In mruby 3.1.0, the "size of management data per heap page" is 6 words, also "size per object" is 6 words.
Expand Down Expand Up @@ -197,7 +197,7 @@ end

`MRB_MALLOC_TRIM`

- call malloc_trim(0) for each mrb_full_gc() call
- call `malloc_trim(0)` for each `mrb_full_gc()` call

`MRB_UTF8_STRING`

Expand All @@ -211,7 +211,7 @@ end

`MRB_ARY_LENGTH_MAX`

- The maximum length of strings (default 1MB)
- The maximum length of arrays (default 1MB)
- set this value to zero to skip the check

`MRB_FUNCALL_ARGC_MAX`
Expand Down

0 comments on commit 0989609

Please sign in to comment.