diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2024-08-09 15:27:42 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2024-08-09 22:06:44 +0200 |
| commit | 3bac5f6af577cc66d29658ca55b69f7496f8112c (patch) | |
| tree | 2242a80460c9e6871cd4d3d68bf930c93dcd0beb /test | |
| parent | a332367dad3172e8a8c12efed3913c7fde684b06 (diff) | |
string.c: add fastpath in str_ensure_byte_pos
If the string only contain single byte characters we can
skips all the costly checks.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11353
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
