summaryrefslogtreecommitdiff
path: root/benchmark/enum_lazy_grep_v_100.rb
blob: 8832392e656158a25ba1fbdb14859bbfcc94e196 (plain)
1
2
3
4
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 {}}