pub fn assert_eq_std_pass(c: &mut Criterion) {
    let mut group = c.benchmark_group("assert_eq std pass");

    group.bench_with_input("character", &(CHAR_0, CHAR_0), |b, (left, right)| {
        b.iter(|| assert_eq!(left, right))
    });

    group.bench_with_input(
        "64 char string",
        &(STRING_0, STRING_0),
        |b, (left, right)| b.iter(|| assert_eq!(left, right)),
    );

    group.bench_with_input(
        "64x64 char block",
        &(BLOCK_0, BLOCK_0),
        |b, (left, right)| b.iter(|| assert_eq!(left, right)),
    );

    group.finish();
}
/// assert_eq hot path (stdlib implementation, for comparison)
assert_eq hot path (stdlib implementation, for comparison)
assert_eq hot path ( stdlib implementation for comparison )
pub fn assert_eq_std_pass(c: &mut Criterion) {
    let mut group = c.benchmark_group("assert_eq std pass");
    group.bench_with_input("character", &(CHAR_0, CHAR_0), |b, (left, right)| {
        b.iter(|| assert_eq!(left, right))
    });
    group.bench_with_input(
        "64 char string",
        &(STRING_0, STRING_0),
        |b, (left, right)| b.iter(|| assert_eq!(left, right)),
    );
    group.bench_with_input(
        "64x64 char block",
        &(BLOCK_0, BLOCK_0),
        |b, (left, right)| b.iter(|| assert_eq!(left, right)),
    );
    group.finish();
}
pub fn assert_eq_std_pass ( c : & mut Criterion ) { let mut group = c . benchmark_group ( " " ) ; group . bench_with_input ( " " , & ( CHAR_0 , CHAR_0 ) , | b , ( left , right ) | { b . iter ( | | assert_eq ! ( left right ) ) } ) ; group . bench_with_input ( " " , & ( STRING_0 , STRING_0 ) , | b , ( left , right ) | b . iter ( | | assert_eq ! ( left right ) ) , ) ; group . bench_with_input ( " " , & ( BLOCK_0 , BLOCK_0 ) , | b , ( left , right ) | b . iter ( | | assert_eq ! ( left right ) ) , ) ; group . finish ( ) ; }
assert_eq hot path (stdlib implementation, for comparison)
assert_eq hot path ( stdlib implementation for comparison )
c
&mut Criterion
c
&mut Criterion