On 06/19/2014 03:18 PM, Aurelien Jarno wrote: > I have mixed filling about that. While it clearly makes the code more > readable, I am not sure it would be any faster given that it might kill > branch prediction. Any opinion from others?
Given the function pointer is used only once, I don't think it's useful. With normal branch predictors we'll do much better with direct branches, and probably inlining. r~