I have an function that takes an optional (potentially very large) matrix 
(AbstractArray{Float64,2}). I'd like to create a parameter to the function 
that's EITHER this array, or a boolean (false). If I define

edge_dists::Union(Bool, AbstractArray{Float64,2}) = false



in my function declaration, would that cause significant performance 
penalties when accessing the parameter?

Reply via email to