diff options
author | Jean Boussier <[email protected]> | 2024-11-13 13:17:49 +0100 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2024-11-13 14:14:24 +0100 |
commit | 37a16c7812f5b7e6faa762b927e9f04065cc495a (patch) | |
tree | 4d205eb92c12c016448928627aa286a53903805d /compile.c | |
parent | fae86a701edf9afef6b05199fe8f6651b1e155ea (diff) |
string.c: preserve coderange when interning a string
Since `str_do_hash` will most likely scan the string to
compute the coderange, we might as well copy it over in the
interned string in case it's useful later.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12077
Diffstat (limited to 'compile.c')
0 files changed, 0 insertions, 0 deletions