p3_util

Function branch_hint

Source
pub fn branch_hint()
Expand description

Try to force Rust to emit a branch. Example:

let x = 100;
if x > 20 {
    println!("x is big!");
    p3_util::branch_hint();
} else {
    println!("x is small!");
}

This function has no semantics. It is a hint only.