Closed
Description
See MWE below. Results are the same for beta3 and beta4.
# 1.8
julia> @btime NamedTuple{k[]}(v[]) setup=(k=Ref((:a,)); v=Ref((1,)))
337.324 ns (6 allocations: 192 bytes)
(a = 1,)
# 1.9
julia> @btime NamedTuple{k[]}(v[]) setup=(k=Ref((:a,)); v=Ref((1,)))
52.048 μs (44 allocations: 2.16 KiB)
(a = 1,)
Ref slack thread just in case: https://julialang.slack.com/archives/C67910KEH/p1675970292526539.