summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2022-07-06 12:31:54 +0200
committerJean Boussier <jean.boussier@gmail.com>2022-07-06 17:25:58 +0200
commit906f7cb3e7e6de2b75dc4a4a3c09f98d8bf28388 (patch)
treefe7dd9fc9424564fb9d10222d3df0591c76b0444 /spec/ruby
parent9641f23316d7eeb445cfc31191fe746865454671 (diff)
vm_opt_ltlt: call rb_str_buf_append directly if RHS is a String
`rb_str_concat` does a lot of type checking we can easily bypass. ``` | |compare-ruby|built-ruby| |:--------------|-----------:|---------:| |string_concat | 362.007k| 398.965k| | | -| 1.10x| ```
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6095
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions