summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-11-13 13:17:49 +0100
committerJean Boussier <[email protected]>2024-11-13 14:14:24 +0100
commit37a16c7812f5b7e6faa762b927e9f04065cc495a (patch)
tree4d205eb92c12c016448928627aa286a53903805d /compile.c
parentfae86a701edf9afef6b05199fe8f6651b1e155ea (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