This issue causes some really weird performance regressions. I have a potential one related to using Roots.jl in a new release of the StochasticDiffEq.jl module for DifferentialEquations.jl that I would like to do. However, there doesn’t seem to be any Julia v0.5.x coming and no posted workaround, so I was wondering what I should do in terms of package release.
I could just make a last v0.5 release pre-using Roots.jl, and then have a version with Roots.jl and drop support for v0.5. This would leave users of v0.5 with almost all of the features (missing just the newest one), and would not have the performance issue (it’s about a 4x loss on some standard problems, in something that is very performance sensitive).
I could keep v0.5 compatibility, but the next release will have all users get the massive performance hit for everything related to the package.
I am wondering what the suggested course of action is, or if there’s a known workaround.