3 ms·
Interesting point. I doubt go would let something as low level like struct padding bubble up into the language though, perhaps there could be some kind of libra
by jamesmiller5 13y ago
Interesting point. I doubt go would let something as low level like struct padding bubble up into the language though, perhaps there could be some kind of library level "Unsafe" field annotation, though I'd prefer the compiler to optimize this automatically.
- stcredzero 13y agoMy first thought is that it's going to be pretty challenging for a compiler to optimize this without runtime information.