Hello!
I have some a model here that is having some performance issues. I’ve included below a screenshot of a performance profile:
As you can see, the majority of the time is being taken up by a macro expansion in SymbolicUtils.jl; as far as I can tell it is something about setting values in an array.
My question is, is this problem likely to be something wrong with my code, or something wrong with SymbolicUtils? If it’s something with my code, how should I go about debugging it?
Thanks for any help you can offer!
P.S. I do get this warning when I run the code:
┌ Warning: Using arrays or dicts to store parameters of different types can hurt performance.
│ Consider using tuples instead.
I am using a vector to store the parameters, but I was also doing that previously without a problem. Could that be what is causing the problem or is it likely unrelated?