I have seen code in
collect make use of
_default_eltype(typeof(g)) which basically calls
I don’t know Julia internal very well. My understanding is that
Core.Inference is solely for compilation. It feels a bit odd to do type inference in run time. Wouldn’t it be slow?
collect(g::Generator) would have to invoke run time inference for each
Do Julia libs normally call
Inference in run time if static inferences are insufficient?