diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-09-30 23:48:57 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-09-30 23:48:57 +0900 |
| commit | b72e94fa6bae6c9a35c90b4ecedc1f90cdb9a490 (patch) | |
| tree | 08c13caecf740d0d4b972d75f65d6abb17d063bb /src/numeric.c | |
| parent | bbf24b84630eb3b3e18b04bcabd088ad22353957 (diff) | |
| download | mruby-b72e94fa6bae6c9a35c90b4ecedc1f90cdb9a490.tar.gz mruby-b72e94fa6bae6c9a35c90b4ecedc1f90cdb9a490.zip | |
mrbconf.h option MRB_USE_ETEXT_EDATA to reduce memory.
on platforms with _etext and _edata, mruby can distinguish string literals so that it avoids memory allocation to copy them.
for example, on my Linux box (x86 32bit), memory consumed by mrbtest decreased from 8,168,203 to 8,078,848 (reduced 88KB).
Diffstat (limited to 'src/numeric.c')
0 files changed, 0 insertions, 0 deletions
