It will be evaluated at compile-time, regardless of whether you declare it inside or outside the function. So there shouldn't be any performance difference.