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