You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the parser returns a String created with rb_enc_str_new, which is not frozen. The compiler then turns it into an interned string with rb_fstring, which duplicates it by resizing it because it's not frozen.
We should change the parser to return already frozen strings: #553 (comment)
Activity
etiennebarrie commentedon Apr 11, 2024
ruby#10494
ruby#10504