We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Julia 1.5.2:
julia> function ff(::Type{T}, i) where {T} return fieldname(T, i) end ff (generic function with 1 method) julia> @btime ff(A, 2) 7.048 ns (0 allocations: 0 bytes) :b
Julia 1.6.0-DEV.1640
julia> struct A a::Int b::Float64 c::String end julia> function ff(::Type{T}, i) where {T} return fieldname(T, i) end ff (generic function with 1 method) julia> @btime ff(A, 2) 305.302 ns (0 allocations: 0 bytes) :b
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Julia 1.5.2:
Julia 1.6.0-DEV.1640
The text was updated successfully, but these errors were encountered: