Position of arguments in function definition and performance