Function, constants, globals

If your function has as input arguments those constants (declared as constants or any other way) they will be performant. What you have to avoid is having parameters inside your function which are global variables.

2 Likes