summaryrefslogtreecommitdiff
path: root/benchmark/enum_lazy_grep_v_50.rb
blob: 02ea4d4e71998dbcebe30da6fb4975bbfcf22c1b (plain)
1
2
3
4
grep_data = (1..10).to_a * 1000
N = 100
enum = grep_data.lazy.grep_v(->(i){i > 5}).grep_v(->(i){i > 5})
N.times {enum.each {}}