Skip to content

Commit fefd0bb

Browse files
docs: add comment explaining potential future performance gains
1 parent ee478cd commit fefd0bb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/linearization.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ function LinearizationOpPoint(sol::SciMLBase.AbstractODESolution, t; op = Dict{S
4040
return LinearizationOpPoint(sol, t, op)
4141
end
4242

43+
# TODO: The `LinearizationOpPoint` infrastructure might have some performance on the table.
44+
# In particular, it might benefit form using initialization's `ReconstructInitializeprob`
45+
# to transfer values from the solution to the `LinearizationProblem` without having to
46+
# materialize and manipulate a dictionary alongisde a corresponding list of setter functions.
47+
4348
function _build_op_from_solution(op::LinearizationOpPoint)
4449
sol_sys = MTKBase.indp_to_system(op.sol)
4550
eqs = equations(sol_sys)

0 commit comments

Comments
 (0)