summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorÉtienne Barrié <[email protected]>2024-11-04 11:41:04 +0100
committerJean Boussier <[email protected]>2024-11-04 14:37:14 +0100
commit1e037108a13bc876af9adf09d133dcc3274aa277 (patch)
tree3d574480a81e77f9eced2b164f80d9f1ca24744b /lib
parent09874e90bf4e7850c00552cfee2beb103902a4ad (diff)
Precompute hash only once when interning string literals
When a fake string is interned, use the capa field to store the string hash. This lets us compute it once for hash lookup and embedding the hash in the interned string. Co-authored-by: Jean Boussier <[email protected]>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11989
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions