diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2022-07-25 10:21:38 +0200 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2022-08-18 10:09:08 +0200 |
commit | b0b9f7201acab05c2a3ad92c3043a1f01df3e17f (patch) | |
tree | fe3445ca10f4254baab7e5c182eaccb1943e3b3b /miniinit.c | |
parent | fe61cad7490da8a879597f851f4a89856d44838e (diff) | |
download | ruby-b0b9f7201acab05c2a3ad92c3043a1f01df3e17f.tar.gz |
rb_str_resize: Only clear coderange on truncation
If we are expanding the string or only stripping extra capacity
then coderange won't change, so clearing it is wasteful.
Diffstat (limited to 'miniinit.c')
0 files changed, 0 insertions, 0 deletions