build_function(...; cse=true) can now yield enormous speedups, the simple benchmark here went from 2.490 μs to 184.236 ns for a sparse Hessian. It would be nice if this was activated in DI.
@AayushSabharwal are there any cons to enabling it by default?
build_function(...; cse=true)can now yield enormous speedups, the simple benchmark here went from 2.490 μs to 184.236 ns for a sparse Hessian. It would be nice if this was activated in DI.@AayushSabharwal are there any cons to enabling it by default?