Closed ChrisRackauckas closed 3 weeks ago
I think you might be able to set this globally with:
import DispatchDoctor as DD
DD.type_instability(::Type{<:Union}) = false
Locally, though, we would need a new parameter.
Let me know if #31 is good and I can merge...
Since union splitting optimized code is a bit different from a full type instability, it would probably make sense to have a way to ignore that. That would fix the iterate case and remove the special casing there.