pub fn branchless_compare(a: i32, b: i32) -> i32
Branch-free comparison for integers (eliminates branch misprediction)