Function test::black_boxExperimental
[-]
[+]
[src]
pub fn black_box<T>(dummy: T)
A function that is opaque to the optimizer, to allow benchmarks to pretend to use outputs to assist in avoiding dead-code elimination.
This function is a no-op, and does not even read from dummy
.