diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-12-17 01:56:30 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-12-17 03:44:23 +0900 |
commit | 2a3324fcd2f9681e167b2619563a5c26e1a362fe (patch) | |
tree | ba8b8fde222250f8db8303282f98f9308264149b /gc.c | |
parent | c58142134cccdd31811f12aabf4f9dd3ce6a17f7 (diff) |
No sync on ASCII/US_ASCCII/UTF-8
rb_enc_from_index(index) doesn't need locking if index specify
ASCII/US_ASCCII/UTF-8.
rb_enc_from_index() is called frequently so it has impact.
user system total real
r_parallel/miniruby 174 0.000209 0.000000 5.559872 ( 1.811501)
r_parallel/master_mini 175 0.000238 0.000000 12.664707 ( 3.523641)
(repeat x1000 `s.split(/,/)` where s = '0,,' * 1000)
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3916
Diffstat (limited to 'gc.c')
0 files changed, 0 insertions, 0 deletions