If you would define all the constants inside make_my_interp function, but outside the closure, that would be equally fast to having them global const.
If you would define all the constants inside make_my_interp function, but outside the closure, that would be equally fast to having them global const.