ruby/benchmark/hash_literal_small4.rb

4 строки
123 B
Ruby

# frozen_string_literal: true
1_000_000.times.map { { "foo" => "bar", "bar" => "baz", "baz" => "lol", "lol" => "lgtm" } }