benchmark_simple

Function black_box

Source
pub fn black_box<T>(dummy: T) -> T
Expand description

Force the compiler to avoid optimizing away a value that is computed for benchmarking purposes, but not used afterwards.