ruby. Benchmark.ips do |x| x.config(time: 30, warmup: 2) x.report('gsub') { string.gsub(/ /, '') } x.report('gsub, no regex') ...
確定! 回上一頁