spec/ext/performant_spec.rb in picky-0.0.9 vs spec/ext/performant_spec.rb in picky-0.1.0

- old
+ new

@@ -45,20 +45,20 @@ arys = [(1..50).to_a, (10_000..20_000).to_a << 7] # brute force Benchmark.realtime do Performant::Array.memory_efficient_intersect(arys.sort_by(&:size)) - end.should <= 0.001 + end.should < 0.001 end it "should be optimal for 2 small arrays of 50/10_000" do arys = [(1..50).to_a, (10_000..20_000).to_a << 7] # & Benchmark.realtime do arys.inject(arys.shift.dup) do |total, ary| total & arys end - end.should <= 0.0015 + end.should < 0.0015 end end end \ No newline at end of file