tl;dr: on 64-bit little-endian machines, does
x := math.Float64frombits(binary.LittleEndian.Uint64(byteSlice[:8]))
get optimized to a single move instruction from byteSlice[:8] to x?
Background info:
Although this is a performance question, performance is not a concern in my use case. This is just an idle "can Go do this yet?" question and I'm curious about the answer.
Thanks for any insight,
Tom