зеркало из https://github.com/github/ruby.git
5 строки
118 B
Ruby
5 строки
118 B
Ruby
|
h = {}.compare_by_identity
|
||
|
strs = ('a'..'z').to_a
|
||
|
strs.each { |s| h[s] = s }
|
||
|
200_000.times { strs.each { |s| h[s] } }
|