5 lines
129 B
Ruby
5 lines
129 B
Ruby
|
grep_data = (1..10).to_a * 1000
|
||
|
N = 100
|
||
|
enum = grep_data.lazy.grep_v(->(i){i == 0}).grep_v(->(i){i == 0})
|
||
|
N.times {enum.each {}}
|