Hmm, I thought the compiler would be able to eliminate this conditional:

      g{T}(::Array{T}) = typeof(one(T)) == T ? 1 : 2

but code_native(g, (Array{Int},)) is ridiculously long.

Reply via email to