I should mention: if you really can't get the perf you need out of the compiler after testing (I'd be shocked, but it's possible) then you might want to look into generating computed jump tables.
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
I should mention: if you really can't get the perf you need out of the compiler after testing (I'd be shocked, but it's possible) then you might want to look into generating computed jump tables.