1990: optimized branch lookup (thx sjl)