Question : rails benchmark
Answered by : plain-pig-0x9eyyuadedk
puts Benchmark.measure { 50_000.times do input.map { |key, value| [key.to_sym, value] }.to_h end
}
Source : | Last Update : Sat, 23 May 20
Answered by : plain-pig-0x9eyyuadedk
puts Benchmark.measure { 50_000.times do input.map { |key, value| [key.to_sym, value] }.to_h end
}
Source : | Last Update : Sat, 23 May 20