According to the "performace tips" section of the Julia manual it is not advisable to go crazy with multiple dispatch. I've run into a situation where it seems I need 3 parameters for a type I'm defining. This is related to my question about using only 1 parameter for 2 possible types. I realize I could solve the difficulty presented there by simply using another parameter but then my type looks like
type mytype{R<:Real, S<:Any, T<:Any}
x::Matrix{R}
y::Dict{Int64, Vector{S}}
z::Dict{T, Vector{Int64}}
end
Is this inadvisable interms of performance for having several parameters to dispatch on. Functions on mytype would then dispatch on the 3 parameters and the function arguments is that correct?