Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove destructive invalidation and fix compile times
```julia using DifferentialEquations, SnoopCompile function lorenz(du,u,p,t) du[1] = 10.0(u[2]-u[1]) du[2] = u[1]*(28.0-u[3]) - u[2] du[3] = u[1]*u[2] - (8/3)*u[3] end u0 = [1.0;0.0;0.0] tspan = (0.0,100.0) prob = ODEProblem(lorenz,u0,tspan) alg = Rodas5(chunk_size = Val{3}(), linsolve = DiffEqBase.LUFactorize()) tinf = @snoopi_deep solve(prob,alg) ``` Before: After: ```julia # InferenceTimingNode: 1.002721/2.089656 on Core.Compiler.Timings.ROOT() with 3 direct children ``` Fixes SciML/DifferentialEquations.jl#785
- Loading branch information