Replace function selector jump table by more resilient linear time check.