I’m working through @ChrisRackauckas excellent article 7 Julia Gotchas and How to Handle Them - Stochastic Lifestyle. One of his big recommendations is to use @code_warntype
.
I already found an untyped container that made things a lot faster when I fixed it.
However, now I see lots of Union{Nothing, Tuple{Int64, Int64}}
. I’m looking through my code (the vrr
routine, not that I’m asking anyone to debug code for me), and I just can’t find anything that would lead to variables of that type. The only other hint I have is that all of these variables have an @_53
or some other number in front of them, which I’m guessing means that they’re intermediate variables, i.e.:
i@_52::Int64
@_53::Union{Nothing, Tuple{Int64, Int64}}
@_54::Union{Nothing, Tuple{Int64, Int64}}
@_55::Union{Nothing, Tuple{Int64, Int64}}
@_56::Union{Nothing, Tuple{Int64, Int64}}
c_i::Float64
Does this ring any bells for people, or can people suggest useful directions to pursue?
Thanks in advance.