Reduce the minimum string buffer size from 127 to 63 bytes
This commit is contained in:
parent
0ca4f74967
commit
9c24ce551d
Notes:
git
2019-10-11 11:16:40 +09:00
2
string.c
2
string.c
@ -1346,7 +1346,7 @@ str_new_empty(VALUE str)
|
|||||||
return v;
|
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);
|
STATIC_ASSERT(STR_BUF_MIN_SIZE, STR_BUF_MIN_SIZE > RSTRING_EMBED_LEN_MAX);
|
||||||
|
|
||||||
VALUE
|
VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user