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
There are some surprising compile times when repeatedly creating an operator:
using SciMLOperators
@time ScalarOperator(0.0; update_func=(u, p, t)->3) # 0.02 secs
@time ScalarOperator(0.0; update_func=(u, p, t)->3) # still 0.02 secs
@time ScalarOperator(0.0; update_func=(u, p, t)->3) # still 0.02 secs
If this an issue, perhaps it's due to the FilterKwargs design -- we may want to consider tweaking the internal design to reduce compile time, perhaps using function wrappers?
The text was updated successfully, but these errors were encountered:
There are some surprising compile times when repeatedly creating an operator:
If this an issue, perhaps it's due to the
FilterKwargs
design -- we may want to consider tweaking the internal design to reduce compile time, perhaps using function wrappers?The text was updated successfully, but these errors were encountered: