```julia-repl julia> itr = ("foo" for _ in 1:100) Base.Generator{UnitRange{Int64}, var"#1#2"}(var"#1#2"(), 1:100) julia> @code_warntype join(itr) MethodInstance for join(::Base.Generator{UnitRange{Int64}, var"#1#2"}) from join(iterator) @ Base strings/io.jl:374 Arguments #self#::Core.Const(join) iterator::Base.Generator{UnitRange{Int64}, var"#1#2"} Body::Union{Base.AnnotatedString{String}, String} ``` This used to infer to `String`. Ref https://github.com/JuliaLang/julia/pull/54919.
Activity
simeonschaub commentedon Aug 6, 2024
Possible duplicate of #55279?
KristofferC commentedon Aug 6, 2024
I don't think so because in #55279, the issue is that
seekstart
itself is all of a sudden much slower.As I wrote in #55279 (comment), I think there is some "inference poisoning" going on.
fix #55389: type-unstable `join`
fix #55389: type-unstable `join`
fix JuliaLang#55389: type-unstable `join` (JuliaLang#55395)
fix #55389: type-unstable `join` (#55395)
fix JuliaLang#55389: type-unstable `join` (JuliaLang#55395)
Backports release 1.11 (#55344)