CallExpensiveFunction switch