Closed
Description
I opened JuliaCI/BaseBenchmarks.jl#223 to track performance of reading a Float64
from an IOBuffer
. This currently allocates.
I thought that maybe this would be resolved in 0.7 (elimination of the allocation of the Ref
here), but I guess that's being explicitly prevented by the @noinline
here.
BufferedStreams.jl has this implementation, which doesn't allocate. Is something like this acceptable for Base as well? I don't think there are any issues with GC roots or alignment in this implementation, are there?