mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
5 lines
124 B
Ruby
5 lines
124 B
Ruby
|
uniq_data = (1..10_000).to_a
|
||
|
N = 100
|
||
|
enum = uniq_data.lazy.uniq {|i| i % 10000}.uniq {|i| i % 10000}
|
||
|
N.times {enum.each {}}
|