We discussed compiler optimization, so how about `(cast(ubyte*)chunk)[0..T.sizeof] = (cast(ubyte*)&i)[0..T.sizeof]`? It will be rewritten as memcpy but the compiler might directly copy small arrays.