Closed IanButterworth closed 3 years ago
Thanks @ianshmean, I have no means to test at the moment (and thus nothing to lose either). I've eyeballed the PR and it looks sane but it's up to you to confirm it works!
Ok. I can confirm that it's working for me. I'll merge and release.
A few changes:
julia> sr = Ref{String}("hello") Base.RefValue{String}("hello")
julia> @btime s * s 33.544 ns (1 allocation: 32 bytes) "hellohello"
julia> @btime sr[] * sr[] 54.121 ns (1 allocation: 32 bytes) "hellohello"