Should I use type parameters or abstract arguments in a function?


I find myself faced with a decision quite often to either use f{T<:Real}(a::T) or f(a::Real), using Real as an example. Is there any performance difference between the 2? Which one is more preferred?



Are you going to use T?


I see, so only when T is going to be used.