Re-enable a `Zip` benchmark that had been commented out
@@ -103,7 +103,6 @@ fn zip_default_zip3(b: &mut test::Bencher)
})
}
-/*
#[bench]
fn zip_slices_ziptuple(b: &mut test::Bencher)
{
@@ -113,13 +112,12 @@ fn zip_slices_ziptuple(b: &mut test::Bencher)
b.iter(|| {
let xs = black_box(&xs);
let ys = black_box(&ys);
- for (&x, &y) in Zip::new((xs, ys)) {
+ for (&x, &y) in itertools::multizip((xs, ys)) {
test::black_box(x);
test::black_box(y);
}
})
}
-*/
#[bench]
fn zipslices(b: &mut test::Bencher)
