You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These functions return equal types, but the compiler does not know a lot about the effects of f, producing worse code:
julia> f() = Union{<:AbstractArray, <:Tuple}
f (generic function with 1 method)
julia> g() = Union{AbstractArray, Tuple}
g (generic function with 1 method)
julia> Base.infer_effects(f)
(?c,+e,!n,+t,+s,+m,+u)
julia> Base.infer_effects(g)
(+c,+e,+n,+t,+s,+m,+u)
The text was updated successfully, but these errors were encountered:
These functions return equal types, but the compiler does not know a lot about the effects of
f
, producing worse code:The text was updated successfully, but these errors were encountered: