mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
5 lines
114 B
Ruby
5 lines
114 B
Ruby
|
h = {}
|
||
|
syms = ('a'..'z').map { |s| s.to_sym }
|
||
|
syms.each { |s| h[s] = 1 }
|
||
|
200_000.times { syms.each { |s| h[s] } }
|