Open timholy opened 3 years ago
I've seen a few cases where the main method specializes on an argument but then the kw body method does not. Example (with >700 backedges):
julia> mi = miexp[end-3].first # from MethodAnalysis/demos/abstract.jl MethodInstance for #sprint#371(::Nothing, ::Int64, ::typeof(sprint), ::Function, ::Vector{SubString{String}}, ::Vararg{Any, N} where N) julia> ascend(mi) Choose a call for analysis (q to quit): #sprint#371(::Nothing, ::Int64, ::typeof(sprint), ::Function, ::Vector{SubString{String}}, ::Vararg{Any, N} where N) > sprint(::typeof(join), ::Vector{SubString{String}}, ::String) join(::Vector{SubString{String}}, ::String) normpath(::String) abspath(::String) include(::Module, ::String) ...
Neither the ::Function nor varargs is specialized in the body method, but both are in sprint itself.
::Function
sprint
Maybe related (vaguely) to https://github.com/JuliaLang/julia/issues/35045 ?
I've seen a few cases where the main method specializes on an argument but then the kw body method does not. Example (with >700 backedges):
Neither the
::Function
nor varargs is specialized in the body method, but both are insprint
itself.