-
Notifications
You must be signed in to change notification settings - Fork 6
Remove OrdinaryDiffEq
internals
#1784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Things I changed:
It must be noted that even though |
ae723ea
to
20ac189
Compare
20ac189
to
34218fd
Compare
Helps to reduce the allocations: ``` # 17.378027 seconds (5.23 M allocations: 3.301 GiB, 2.81% gc time) # 16.907372 seconds (4.01 M allocations: 3.255 GiB, 2.47% gc time) ``` The remaining allocations are almost all in relaxation, for which #2190 or #1784 are good candidates to help. ```julia using Ribasim m = Ribasim.Model("hws_2025_4_0/hws.toml") @profview_allocs Ribasim.solve!(m) ``` 
Fixes #1778.
See also SciML/OrdinaryDiffEq.jl#2443.