Allocation on ForwardDiff + DiffResults + StaticArrays

Cf

https://github.com/JuliaDiff/ForwardDiff.jl/pull/315

Something similar for Hessian may help resolve this.

1 Like