There is no performance difference.
The compiler already knows the type of what you pass, so the information in the parameter list is redundant. Putting type information in the function parameter list is used for dispatch, to choose which method to call. Or for “safety”, to raise an error if the appropriate method does not exist. Or for documentation.