diff options
author | Lourens Naudé <lourens@bearmetal.eu> | 2019-04-25 22:35:43 +0100 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-10-11 11:16:16 +0900 |
commit | 9c24ce551d19ac0f5cac4bc9ff5ef5a7a980909d (patch) | |
tree | e529bbc4434b404a4fcc740abaf47b74ccc010bb /string.c | |
parent | 0ca4f74967bb5a439b1f3d322ae7729265b917a4 (diff) |
Reduce the minimum string buffer size from 127 to 63 bytes
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2151
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1346,7 +1346,7 @@ str_new_empty(VALUE str) return v; } -#define STR_BUF_MIN_SIZE 127 +#define STR_BUF_MIN_SIZE 63 STATIC_ASSERT(STR_BUF_MIN_SIZE, STR_BUF_MIN_SIZE > RSTRING_EMBED_LEN_MAX); VALUE |