diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-09-08 11:53:27 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-09-26 10:23:02 +0200 |
commit | 6ffc045a817fbdf04a6945d3c260b55b0fa1fd1e (patch) | |
tree | e830df0ad8e9d5ad4413d1008115699b703e215b /missing | |
parent | 4a4c5028258e53f3395af29655a66bcef796fd73 (diff) |
[EXPERIMENTAL] Make Symbol#to_s return a frozen String
* Always the same frozen String for a given Symbol.
* Avoids extra allocations whenever calling Symbol#to_s.
* See [Feature #16150]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2437
Diffstat (limited to 'missing')
0 files changed, 0 insertions, 0 deletions