Feature #12025 ยป 0001-Reduce-minimum-string-buffer-size-from-128-to-127.patch
string.c | ||
---|---|---|
return v;
|
||
}
|
||
#define STR_BUF_MIN_SIZE 128
|
||
#define STR_BUF_MIN_SIZE 127
|
||
VALUE
|
||
rb_str_buf_new(long capa)
|
||
... | ... | |
capa = (total + 4095) / 4096 * 4096;
|
||
break;
|
||
}
|
||
capa = 2 * capa;
|
||
capa = 2 * capa + 1;
|
||
}
|
||
}
|
||
else {
|