I replaced one occurrence of if/else with likely/unlikely which given me some improvement in performance as this executes many times. Now I would like to change all the occurrences of if/else with likely/unlikely. I use this code on only one target/OS.
Does this have any drawbacks to replace all if/else's ?