I’d like to create arrays of
u8 a) on stack and b) statically using
include_bytes! such that the arrays are aligned to 16 bytes (in order to have nice alignment for processing as
u8x16 with explicit usage of aligned loads via intrinsics).
Is there a way to make the compiler guarantee such alignment?
If not, am I correct to assume that
Vec<u8> whose length is equal or greater than 16 has its buffer aligned to at least 16 when jemalloc is in use? (I.e. can I get the required alignment by using the heap instead?)