I am doing some analysis of some of my code using JET.jl.
When I use StaticArrays in the following way (below is a MWE), report_call from JET is unhappy:
a=MVector(1,2,3,4,5)
b=MVector(6,7,8,9,10)
@report_call b[a.==2]
However, without static arrays, report_call is just fine.
a=[1,2,3,4,5]
b=[6,7,8,9,10]
@report_call b[a.==2]
I will note that my code executes fine and is much faster when using StaticArrays for my use case, so I want to use it. Should I just ignore this apparent issue reported by JET or is there a better way to achieve what Iām after?
Edit: here is the report_call output: